======= function dr(e){return getComputedStyle(e)}function hr(e,t){for(var n in t){var r=t[n];"number"==typeof r&&(r+="px"),e.style[n]=r}return e}function mr(e){var t=document.createElement("div");return t.className=e,t}var gr="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function yr(e,t){if(!gr)throw new Error("No element matching method supported");return gr.call(e,t)}function vr(e){e.remove?e.remove():e.parentNode&&e.parentNode.removeChild(e)}function br(e,t){return Array.prototype.filter.call(e.children,function(e){return yr(e,t)})}var wr={main:"ps",element:{thumb:function(e){return"ps__thumb-"+e},rail:function(e){return"ps__rail-"+e},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(e){return"ps--active-"+e},scrolling:function(e){return"ps--scrolling-"+e}}},xr={x:null,y:null};function kr(e,t){var n=e.element.classList,r=wr.state.scrolling(t);n.contains(r)?clearTimeout(xr[t]):n.add(r)}function Er(e,t){xr[t]=setTimeout(function(){return e.isAlive&&e.element.classList.remove(wr.state.scrolling(t))},e.settings.scrollingThreshold)}var Sr=function(e){this.element=e,this.handlers={}},_r={isEmpty:{configurable:!0}};Sr.prototype.bind=function(e,t){void 0===this.handlers[e]&&(this.handlers[e]=[]),this.handlers[e].push(t),this.element.addEventListener(e,t,!1)},Sr.prototype.unbind=function(e,t){var n=this;this.handlers[e]=this.handlers[e].filter(function(r){return!(!t||r===t)||(n.element.removeEventListener(e,r,!1),!1)})},Sr.prototype.unbindAll=function(){for(var e in this.handlers)this.unbind(e)},_r.isEmpty.get=function(){var e=this;return Object.keys(this.handlers).every(function(t){return 0===e.handlers[t].length})},Object.defineProperties(Sr.prototype,_r);var Or=function(){this.eventElements=[]};function Cr(e){if("function"==typeof window.CustomEvent)return new CustomEvent(e);var t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}Or.prototype.eventElement=function(e){var t=this.eventElements.filter(function(t){return t.element===e})[0];return t||(t=new Sr(e),this.eventElements.push(t)),t},Or.prototype.bind=function(e,t,n){this.eventElement(e).bind(t,n)},Or.prototype.unbind=function(e,t,n){var r=this.eventElement(e);r.unbind(t,n),r.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(r),1)},Or.prototype.unbindAll=function(){this.eventElements.forEach(function(e){return e.unbindAll()}),this.eventElements=[]},Or.prototype.once=function(e,t,n){var r=this.eventElement(e),o=function(e){r.unbind(t,o),n(e)};r.bind(t,o)};var Tr=function(e,t,n,r,o){var i;if(void 0===r&&(r=!0),void 0===o&&(o=!1),"top"===t)i=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==t)throw new Error("A proper axis should be provided");i=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function(e,t,n,r,o){var i=n[0],a=n[1],s=n[2],l=n[3],c=n[4],u=n[5];void 0===r&&(r=!0);void 0===o&&(o=!1);var p=e.element;e.reach[l]=null,p[s]<1&&(e.reach[l]="start");p[s]>e[i]-e[a]-1&&(e.reach[l]="end");t&&(p.dispatchEvent(Cr("ps-scroll-"+l)),t<0?p.dispatchEvent(Cr("ps-scroll-"+c)):t>0&&p.dispatchEvent(Cr("ps-scroll-"+u)),r&&function(e,t){kr(e,t),Er(e,t)}(e,l));e.reach[l]&&(t||o)&&p.dispatchEvent(Cr("ps-"+l+"-reach-"+e.reach[l]))}(e,n,i,r,o)};function jr(e){return parseInt(e,10)||0}var Ar={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)},Ir=function(e){var t=e.element,n=Math.floor(t.scrollTop);e.containerWidth=t.clientWidth,e.containerHeight=t.clientHeight,e.contentWidth=t.scrollWidth,e.contentHeight=t.scrollHeight,t.contains(e.scrollbarXRail)||(br(t,wr.element.rail("x")).forEach(function(e){return vr(e)}),t.appendChild(e.scrollbarXRail)),t.contains(e.scrollbarYRail)||(br(t,wr.element.rail("y")).forEach(function(e){return vr(e)}),t.appendChild(e.scrollbarYRail)),!e.settings.suppressScrollX&&e.containerWidth+e.settings.scrollXMarginOffset=e.railXWidth-e.scrollbarXWidth&&(e.scrollbarXLeft=e.railXWidth-e.scrollbarXWidth),e.scrollbarYTop>=e.railYHeight-e.scrollbarYHeight&&(e.scrollbarYTop=e.railYHeight-e.scrollbarYHeight),function(e,t){var n={width:t.railXWidth},r=Math.floor(e.scrollTop);t.isRtl?n.left=t.negativeScrollAdjustment+e.scrollLeft+t.containerWidth-t.contentWidth:n.left=e.scrollLeft;t.isScrollbarXUsingBottom?n.bottom=t.scrollbarXBottom-r:n.top=t.scrollbarXTop+r;hr(t.scrollbarXRail,n);var o={top:r,height:t.railYHeight};t.isScrollbarYUsingRight?t.isRtl?o.right=t.contentWidth-(t.negativeScrollAdjustment+e.scrollLeft)-t.scrollbarYRight-t.scrollbarYOuterWidth:o.right=t.scrollbarYRight-e.scrollLeft:t.isRtl?o.left=t.negativeScrollAdjustment+e.scrollLeft+2*t.containerWidth-t.contentWidth-t.scrollbarYLeft-t.scrollbarYOuterWidth:o.left=t.scrollbarYLeft+e.scrollLeft;hr(t.scrollbarYRail,o),hr(t.scrollbarX,{left:t.scrollbarXLeft,width:t.scrollbarXWidth-t.railBorderXWidth}),hr(t.scrollbarY,{top:t.scrollbarYTop,height:t.scrollbarYHeight-t.railBorderYWidth})}(t,e),e.scrollbarXActive?t.classList.add(wr.state.active("x")):(t.classList.remove(wr.state.active("x")),e.scrollbarXWidth=0,e.scrollbarXLeft=0,t.scrollLeft=0),e.scrollbarYActive?t.classList.add(wr.state.active("y")):(t.classList.remove(wr.state.active("y")),e.scrollbarYHeight=0,e.scrollbarYTop=0,t.scrollTop=0)};function Pr(e,t){return e.settings.minScrollbarLength&&(t=Math.max(t,e.settings.minScrollbarLength)),e.settings.maxScrollbarLength&&(t=Math.min(t,e.settings.maxScrollbarLength)),t}function Rr(e,t){var n=t[0],r=t[1],o=t[2],i=t[3],a=t[4],s=t[5],l=t[6],c=t[7],u=t[8],p=e.element,f=null,d=null,h=null;function m(t){p[l]=f+h*(t[o]-d),kr(e,c),Ir(e),t.stopPropagation(),t.preventDefault()}function g(){Er(e,c),e[u].classList.remove(wr.state.clicking),e.event.unbind(e.ownerDocument,"mousemove",m)}e.event.bind(e[a],"mousedown",function(t){f=p[l],d=t[o],h=(e[r]-e[n])/(e[i]-e[s]),e.event.bind(e.ownerDocument,"mousemove",m),e.event.once(e.ownerDocument,"mouseup",g),e[u].classList.add(wr.state.clicking),t.stopPropagation(),t.preventDefault()})}var Nr={"click-rail":function(e){e.event.bind(e.scrollbarY,"mousedown",function(e){return e.stopPropagation()}),e.event.bind(e.scrollbarYRail,"mousedown",function(t){var n=t.pageY-window.pageYOffset-e.scrollbarYRail.getBoundingClientRect().top>e.scrollbarYTop?1:-1;e.element.scrollTop+=n*e.containerHeight,Ir(e),t.stopPropagation()}),e.event.bind(e.scrollbarX,"mousedown",function(e){return e.stopPropagation()}),e.event.bind(e.scrollbarXRail,"mousedown",function(t){var n=t.pageX-window.pageXOffset-e.scrollbarXRail.getBoundingClientRect().left>e.scrollbarXLeft?1:-1;e.element.scrollLeft+=n*e.containerWidth,Ir(e),t.stopPropagation()})},"drag-thumb":function(e){Rr(e,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),Rr(e,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function(e){var t=e.element;e.event.bind(e.ownerDocument,"keydown",function(n){if(!(n.isDefaultPrevented&&n.isDefaultPrevented()||n.defaultPrevented)&&(yr(t,":hover")||yr(e.scrollbarX,":focus")||yr(e.scrollbarY,":focus"))){var r,o=document.activeElement?document.activeElement:e.ownerDocument.activeElement;if(o){if("IFRAME"===o.tagName)o=o.contentDocument.activeElement;else for(;o.shadowRoot;)o=o.shadowRoot.activeElement;if(yr(r=o,"input,[contenteditable]")||yr(r,"select,[contenteditable]")||yr(r,"textarea,[contenteditable]")||yr(r,"button,[contenteditable]"))return}var i=0,a=0;switch(n.which){case 37:i=n.metaKey?-e.contentWidth:n.altKey?-e.containerWidth:-30;break;case 38:a=n.metaKey?e.contentHeight:n.altKey?e.containerHeight:30;break;case 39:i=n.metaKey?e.contentWidth:n.altKey?e.containerWidth:30;break;case 40:a=n.metaKey?-e.contentHeight:n.altKey?-e.containerHeight:-30;break;case 32:a=n.shiftKey?e.containerHeight:-e.containerHeight;break;case 33:a=e.containerHeight;break;case 34:a=-e.containerHeight;break;case 36:a=e.contentHeight;break;case 35:a=-e.contentHeight;break;default:return}e.settings.suppressScrollX&&0!==i||e.settings.suppressScrollY&&0!==a||(t.scrollTop-=a,t.scrollLeft+=i,Ir(e),function(n,r){var o=Math.floor(t.scrollTop);if(0===n){if(!e.scrollbarYActive)return!1;if(0===o&&r>0||o>=e.contentHeight-e.containerHeight&&r<0)return!e.settings.wheelPropagation}var i=t.scrollLeft;if(0===r){if(!e.scrollbarXActive)return!1;if(0===i&&n<0||i>=e.contentWidth-e.containerWidth&&n>0)return!e.settings.wheelPropagation}return!0}(i,a)&&n.preventDefault())}})},wheel:function(e){var t=e.element;function n(n){var r=function(e){var t=e.deltaX,n=-1*e.deltaY;return void 0!==t&&void 0!==n||(t=-1*e.wheelDeltaX/6,n=e.wheelDeltaY/6),e.deltaMode&&1===e.deltaMode&&(t*=10,n*=10),t!=t&&n!=n&&(t=0,n=e.wheelDelta),e.shiftKey?[-n,-t]:[t,n]}(n),o=r[0],i=r[1];if(!function(e,n,r){if(!Ar.isWebKit&&t.querySelector("select:focus"))return!0;if(!t.contains(e))return!1;for(var o=e;o&&o!==t;){if(o.classList.contains(wr.element.consuming))return!0;var i=dr(o);if([i.overflow,i.overflowX,i.overflowY].join("").match(/(scroll|auto)/)){var a=o.scrollHeight-o.clientHeight;if(a>0&&!(0===o.scrollTop&&r>0||o.scrollTop===a&&r<0))return!0;var s=o.scrollWidth-o.clientWidth;if(s>0&&!(0===o.scrollLeft&&n<0||o.scrollLeft===s&&n>0))return!0}o=o.parentNode}return!1}(n.target,o,i)){var a=!1;e.settings.useBothWheelAxes?e.scrollbarYActive&&!e.scrollbarXActive?(i?t.scrollTop-=i*e.settings.wheelSpeed:t.scrollTop+=o*e.settings.wheelSpeed,a=!0):e.scrollbarXActive&&!e.scrollbarYActive&&(o?t.scrollLeft+=o*e.settings.wheelSpeed:t.scrollLeft-=i*e.settings.wheelSpeed,a=!0):(t.scrollTop-=i*e.settings.wheelSpeed,t.scrollLeft+=o*e.settings.wheelSpeed),Ir(e),(a=a||function(n,r){var o=Math.floor(t.scrollTop),i=0===t.scrollTop,a=o+t.offsetHeight===t.scrollHeight,s=0===t.scrollLeft,l=t.scrollLeft+t.offsetWidth===t.scrollWidth;return!(Math.abs(r)>Math.abs(n)?i||a:s||l)||!e.settings.wheelPropagation}(o,i))&&!n.ctrlKey&&(n.stopPropagation(),n.preventDefault())}}void 0!==window.onwheel?e.event.bind(t,"wheel",n):void 0!==window.onmousewheel&&e.event.bind(t,"mousewheel",n)},touch:function(e){if(Ar.supportsTouch||Ar.supportsIePointer){var t=e.element,n={},r=0,o={},i=null;Ar.supportsTouch?(e.event.bind(t,"touchstart",c),e.event.bind(t,"touchmove",u),e.event.bind(t,"touchend",p)):Ar.supportsIePointer&&(window.PointerEvent?(e.event.bind(t,"pointerdown",c),e.event.bind(t,"pointermove",u),e.event.bind(t,"pointerup",p)):window.MSPointerEvent&&(e.event.bind(t,"MSPointerDown",c),e.event.bind(t,"MSPointerMove",u),e.event.bind(t,"MSPointerUp",p)))}function a(n,r){t.scrollTop-=r,t.scrollLeft-=n,Ir(e)}function s(e){return e.targetTouches?e.targetTouches[0]:e}function l(e){return!(e.pointerType&&"pen"===e.pointerType&&0===e.buttons||(!e.targetTouches||1!==e.targetTouches.length)&&(!e.pointerType||"mouse"===e.pointerType||e.pointerType===e.MSPOINTER_TYPE_MOUSE))}function c(e){if(l(e)){var t=s(e);n.pageX=t.pageX,n.pageY=t.pageY,r=(new Date).getTime(),null!==i&&clearInterval(i)}}function u(i){if(l(i)){var c=s(i),u={pageX:c.pageX,pageY:c.pageY},p=u.pageX-n.pageX,f=u.pageY-n.pageY;if(function(e,n,r){if(!t.contains(e))return!1;for(var o=e;o&&o!==t;){if(o.classList.contains(wr.element.consuming))return!0;var i=dr(o);if([i.overflow,i.overflowX,i.overflowY].join("").match(/(scroll|auto)/)){var a=o.scrollHeight-o.clientHeight;if(a>0&&!(0===o.scrollTop&&r>0||o.scrollTop===a&&r<0))return!0;var s=o.scrollLeft-o.clientWidth;if(s>0&&!(0===o.scrollLeft&&n<0||o.scrollLeft===s&&n>0))return!0}o=o.parentNode}return!1}(i.target,p,f))return;a(p,f),n=u;var d=(new Date).getTime(),h=d-r;h>0&&(o.x=p/h,o.y=f/h,r=d),function(n,r){var o=Math.floor(t.scrollTop),i=t.scrollLeft,a=Math.abs(n),s=Math.abs(r);if(s>a){if(r<0&&o===e.contentHeight-e.containerHeight||r>0&&0===o)return 0===window.scrollY&&r>0&&Ar.isChrome}else if(a>s&&(n<0&&i===e.contentWidth-e.containerWidth||n>0&&0===i))return!0;return!0}(p,f)&&i.preventDefault()}}function p(){e.settings.swipeEasing&&(clearInterval(i),i=setInterval(function(){e.isInitialized?clearInterval(i):o.x||o.y?Math.abs(o.x)<.01&&Math.abs(o.y)<.01?clearInterval(i):(a(30*o.x,30*o.y),o.x*=.8,o.y*=.8):clearInterval(i)},10))}}},Lr=function(e,t){var n=this;if(void 0===t&&(t={}),"string"==typeof e&&(e=document.querySelector(e)),!e||!e.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var r in this.element=e,e.classList.add(wr.main),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},t)n.settings[r]=t[r];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var o,i,a=function(){return e.classList.add(wr.state.focus)},s=function(){return e.classList.remove(wr.state.focus)};this.isRtl="rtl"===dr(e).direction,this.isNegativeScroll=(i=e.scrollLeft,e.scrollLeft=-1,o=e.scrollLeft<0,e.scrollLeft=i,o),this.negativeScrollAdjustment=this.isNegativeScroll?e.scrollWidth-e.clientWidth:0,this.event=new Or,this.ownerDocument=e.ownerDocument||document,this.scrollbarXRail=mr(wr.element.rail("x")),e.appendChild(this.scrollbarXRail),this.scrollbarX=mr(wr.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",a),this.event.bind(this.scrollbarX,"blur",s),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var l=dr(this.scrollbarXRail);this.scrollbarXBottom=parseInt(l.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=jr(l.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=jr(l.borderLeftWidth)+jr(l.borderRightWidth),hr(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=jr(l.marginLeft)+jr(l.marginRight),hr(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=mr(wr.element.rail("y")),e.appendChild(this.scrollbarYRail),this.scrollbarY=mr(wr.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",a),this.event.bind(this.scrollbarY,"blur",s),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var c=dr(this.scrollbarYRail);this.scrollbarYRight=parseInt(c.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=jr(c.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(e){var t=dr(e);return jr(t.width)+jr(t.paddingLeft)+jr(t.paddingRight)+jr(t.borderLeftWidth)+jr(t.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=jr(c.borderTopWidth)+jr(c.borderBottomWidth),hr(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=jr(c.marginTop)+jr(c.marginBottom),hr(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:e.scrollLeft<=0?"start":e.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:e.scrollTop<=0?"start":e.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(e){return Nr[e](n)}),this.lastScrollTop=Math.floor(e.scrollTop),this.lastScrollLeft=e.scrollLeft,this.event.bind(this.element,"scroll",function(e){return n.onScroll(e)}),Ir(this)};Lr.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,hr(this.scrollbarXRail,{display:"block"}),hr(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=jr(dr(this.scrollbarXRail).marginLeft)+jr(dr(this.scrollbarXRail).marginRight),this.railYMarginHeight=jr(dr(this.scrollbarYRail).marginTop)+jr(dr(this.scrollbarYRail).marginBottom),hr(this.scrollbarXRail,{display:"none"}),hr(this.scrollbarYRail,{display:"none"}),Ir(this),Tr(this,"top",0,!1,!0),Tr(this,"left",0,!1,!0),hr(this.scrollbarXRail,{display:""}),hr(this.scrollbarYRail,{display:""}))},Lr.prototype.onScroll=function(e){this.isAlive&&(Ir(this),Tr(this,"top",this.element.scrollTop-this.lastScrollTop),Tr(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},Lr.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),vr(this.scrollbarX),vr(this.scrollbarY),vr(this.scrollbarXRail),vr(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},Lr.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(e){return!e.match(/^ps([-_].+|)$/)}).join(" ")};var Mr,Dr=Lr,Fr=n(81),Ur=n.n(Fr),Br=Dr||r,zr=we(Mr||(Mr=u(["",""],["",""])),Ur.a&&Ur.a.toString()),$r=Se.div.withConfig({componentId:"sc-69kjta-0"})(["font-size:",";position:relative;"],function(e){return e.theme.menu.fontSize}),qr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRef=function(e){t._container=e},t}return i(t,e),t.prototype.componentDidMount=function(){var e=this._container.parentElement&&this._container.parentElement.scrollTop||0;this.inst=new Br(this._container,this.props.options||{}),this._container.scrollTo&&this._container.scrollTo(0,e)},t.prototype.componentDidUpdate=function(){this.inst.update()},t.prototype.componentWillUnmount=function(){this.inst.destroy()},t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,r=e.updateFn;return r&&r(this.componentDidUpdate.bind(this)),p.createElement(p.Fragment,null,p.createElement(zr,null),p.createElement($r,{className:"scrollbar-container "+n,ref:this.handleRef},t))},t}(p.Component);function Wr(e){return p.createElement(Pe.Consumer,null,function(t){return t.nativeScrollbars?p.createElement("div",{style:{overflow:"auto",msOverflowStyle:"-ms-autohiding-scrollbar"}},e.children):p.createElement(qr,a({},e),e.children)})}var Hr=n(132),Yr=Se.div.withConfig({componentId:"sc-3r9i2w-0"})(["code[class*='language-'],pre[class*='language-']{text-shadow:0 -0.1em 0.2em black;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none;}@media print{code[class*='language-'],pre[class*='language-']{text-shadow:none;}}pre[class*='language-']{padding:1em;margin:0.5em 0;overflow:auto;}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:hsl(30,20%,50%);}.token.punctuation{opacity:0.7;}.namespace{opacity:0.7;}.token.property,.token.tag,.token.number,.token.constant,.token.symbol{color:",";}.token.boolean{color:firebrick;}.token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:",";& + a,& + a:visited{color:#4ed2ba;text-decoration:underline;}}.token.operator,.token.entity,.token.url,.token.variable{color:hsl(40,90%,60%);}.token.atrule,.token.attr-value,.token.keyword{color:hsl(350,40%,70%);}.token.regex,.token.important{color:#e90;}.token.important,.token.bold{font-weight:bold;}.token.italic{font-style:italic;}.token.entity{cursor:help;}.token.deleted{color:red;}",";"],function(e){return e.theme.codeSample.textColor},function(e){return e.theme.codeSample.textColor},_e("Prism")),Vr=be(["a{text-decoration:none;color:",";&:visited{color:",";}&:hover{color:",";}}"],function(e){return e.theme.typography.links.color},function(e){return e.theme.typography.links.visited},function(e){return e.theme.typography.links.hover}),Qr=Se(Yr).withConfig({componentId:"sc-1e7p4gt-0"})(["font-family:",";font-weight:",";line-height:",";p{&:last-child{margin-bottom:0;}}"," "," h1{",";color:",";margin-top:0;}h2{",";color:",";}code{color:",";background-color:",";font-family:",";border-radius:2px;border:1px solid rgba(38,50,56,0.1);padding:0 ","px;font-size:",";font-weight:",";word-break:break-word;}pre{font-family:",";white-space:",";background-color:#263238;color:white;padding:","px;overflow-x:auto;line-height:normal;border-radius:0px border:1px solid rgba(38,50,56,0.1);code{background-color:transparent;color:white;padding:0;&:before,&:after{content:none;}}}blockquote{margin:0;margin-bottom:1em;padding:0 15px;color:#777;border-left:4px solid #ddd;}img{max-width:80%;box-sizing:content-box;display:block;margin:2.5rem auto;}ul,ol{padding-left:2em;margin:0;margin-bottom:1em;ul,ol{margin-bottom:0;margin-top:0;}}table{display:block;width:100%;overflow:auto;word-break:normal;word-break:keep-all;border-collapse:collapse;border-spacing:0;margin-top:1.5em;margin-bottom:1.5em;}table tr{background-color:#fff;border-top:1px solid #ccc;&:nth-child(2n){background-color:",";}}table th,table td{padding:6px 13px;border:1px solid #ddd;}table th{text-align:left;font-weight:bold;}",";"," ",";"],function(e){return e.theme.typography.fontFamily},function(e){return e.theme.typography.fontWeightRegular},function(e){return e.theme.typography.lineHeight},function(e){return e.compact&&"\n p:first-child {\n margin-top: 0;\n }\n p:last-child {\n margin-bottom: 0;\n }\n "},function(e){return e.inline&&" p {\n display: inline-block;\n }"},rn(1),function(e){return e.theme.colors.primary.main},rn(2),function(e){return e.theme.colors.text.primary},function(e){return e.theme.typography.code.color},function(e){return e.theme.typography.code.backgroundColor},function(e){return e.theme.typography.code.fontFamily},function(e){return e.theme.spacing.unit},function(e){return e.theme.typography.code.fontSize},function(e){return e.theme.typography.code.fontWeight},function(e){return e.theme.typography.code.fontFamily},function(e){return e.theme.typography.code.wrap?"pre-wrap":"pre"},function(e){return 4*e.theme.spacing.unit},function(e){return e.theme.schema.nestedBackground},hn(".share-link"),Vr,_e("Markdown")),Gr=Qr.withComponent("span"),Xr=function(e,t){return e?Hr.sanitize(t):t};function Kr(e){var t=e.inline?Gr:Qr;return p.createElement(Ne,null,function(n){return p.createElement(t,a({className:"redoc-markdown "+(e.className||""),dangerouslySetInnerHTML:{__html:Xr(n.untrustedSpec,e.html)}},e))})}var Jr,Zr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.source,n=e.inline,r=e.compact,o=e.className,i=new xt;return p.createElement(Kr,{html:i.renderMd(t),inline:n,compact:r,className:o})},t}(p.Component),eo={oauth2:"OAuth2",apiKey:"API Key",http:"HTTP",openIdConnect:"Open ID Connect"},to=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.type,n=e.flow;return p.createElement("tr",null,p.createElement("th",null," ",t," OAuth Flow "),p.createElement("td",null,"implicit"===t||"authorizationCode"===t?p.createElement("div",null,p.createElement("strong",null," Authorization URL: "),n.authorizationUrl):null,"password"===t||"clientCredentials"===t||"authorizationCode"===t?p.createElement("div",null,p.createElement("strong",null," Token URL: "),n.tokenUrl):null,n.refreshUrl&&p.createElement("div",null,p.createElement("strong",null," Refresh URL: "),n.refreshUrl),p.createElement("div",null,p.createElement("strong",null," Scopes: ")),p.createElement("ul",null,Object.keys(n.scopes).map(function(e){return p.createElement("li",{key:e},p.createElement("code",null,e)," - ",p.createElement(Zr,{inline:!0,source:n.scopes[e]||""}))}))))},t}(p.PureComponent),no=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){return this.props.securitySchemes.schemes.map(function(e){return p.createElement(Jt,{id:e.sectionId,key:e.id},p.createElement(tn,null,p.createElement(Kt,null,p.createElement(an,null,p.createElement(vn,{to:e.sectionId}),e.id),p.createElement(Zr,{source:e.description||""}),p.createElement(Qr,null,p.createElement("table",{className:"security-details"},p.createElement("tbody",null,p.createElement("tr",null,p.createElement("th",null," Security scheme type: "),p.createElement("td",null," ",eo[e.type]||e.type," ")),e.apiKey?p.createElement("tr",null,p.createElement("th",null," ",e.apiKey.in," parameter name:"),p.createElement("td",null," ",e.apiKey.name," ")):e.http?[p.createElement("tr",{key:"scheme"},p.createElement("th",null," HTTP Authorization Scheme "),p.createElement("td",null," ",e.http.scheme," ")),"bearer"===e.http.scheme&&e.http.bearerFormat&&p.createElement("tr",{key:"bearer"},p.createElement("th",null," Bearer format "),p.createElement("td",null,' "',e.http.bearerFormat,'" '))]:e.openId?p.createElement("tr",null,p.createElement("th",null," Connect URL "),p.createElement("td",null,p.createElement("a",{target:"_blank",href:e.openId.connectUrl},e.openId.connectUrl))):e.flows?Object.keys(e.flows).map(function(t){return p.createElement(to,{key:t,type:t,flow:e.flows[t]})}):null))))))})},t}(p.PureComponent);var ro=function(){function e(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r=!0);var o=this;this.marker=new yt,this.disposer=null,this.rawOptions=n,this.options=new ge(n,oo),this.scroll=new Ht(this.options),Wt.updateOnHistory(mt.currentId,this.scroll),this.spec=new Tt(e,t,this.options),this.menu=new Wt(this.spec,this.scroll,mt),this.options.disableSearch||(this.search=new Xt,r&&this.search.indexItems(this.menu.items),this.disposer=Object(Le.m)(this.menu,"activeItemIdx",function(e){o.updateMarkOnMenu(e.newValue)}))}return e.fromJS=function(t){var n=new e(t.spec.data,t.spec.url,t.options,!1);return n.menu.activeItemIdx=t.menu.activeItemIdx||0,n.menu.activate(n.menu.flatItems[n.menu.activeItemIdx]),n.options.disableSearch||n.search.load(t.searchIndex),n},e.prototype.onDidMount=function(){this.menu.updateOnHistory(),this.updateMarkOnMenu(this.menu.activeItemIdx)},e.prototype.dispose=function(){this.scroll.dispose(),this.menu.dispose(),null!=this.disposer&&this.disposer()},e.prototype.toJS=function(){return l(this,void 0,void 0,function(){var e,t;return c(this,function(n){switch(n.label){case 0:return e={menu:{activeItemIdx:this.menu.activeItemIdx},spec:{url:this.spec.parser.specUrl,data:this.spec.parser.spec}},this.search?[4,this.search.toJS()]:[3,2];case 1:return t=n.sent(),[3,3];case 2:t=void 0,n.label=3;case 3:return[2,(e.searchIndex=t,e.options=this.rawOptions,e)]}})})},e.prototype.updateMarkOnMenu=function(e){for(var t=Math.max(0,e),n=Math.min(this.menu.flatItems.length,t+5),r=[],o=t;o6?s-6:0),c=6;c>",a=a||r,null==n[r]){if(t){var s=null===n[r]?"null":"undefined";return new Error("The "+i+" `"+a+"` is marked as required in `"+o+"`, but its value is `"+s+"`.")}return null}return e.apply(void 0,[n,r,o,i,a].concat(l))})}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function Lo(e){var t=so(e);return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||"Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol}(t,e)?"symbol":t}function Mo(e,t){return No(function(n,r,o,i,a){return Object(Le.o)(function(){if(e&&Lo(n[r])===t.toLowerCase())return null;var i;switch(t){case"Array":i=Le.i;break;case"Object":i=Le.k;break;case"Map":i=Le.j;break;default:throw new Error("Unexpected mobxType: ".concat(t))}var s=n[r];if(!i(s)){var l=function(e){var t=Lo(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}(s),c=e?" or javascript `"+t.toLowerCase()+"`":"";return new Error("Invalid prop `"+a+"` of type `"+l+"` supplied to `"+o+"`, expected `mobx.Observable"+t+"`"+c+".")}return null})})}function Do(e,t){return No(function(n,r,o,i,a){for(var s=arguments.length,l=new Array(s>5?s-5:0),c=5;c2?r-2:0),i=2;i2?r-2:0),i=2;i",o=this._reactInternalInstance&&this._reactInternalInstance._rootNodeID||this._reactInternalInstance&&this._reactInternalInstance._debugID||this._reactInternalFiber&&this._reactInternalFiber._debugID;ai(this,ri,!1),ai(this,oi,!1);var i=e.bind(this),a=!1,s=new Le.b("".concat(r,"#").concat(o,".render()"),function(){if(!a&&(a=!0,"function"==typeof t.componentWillReact&&t.componentWillReact(),!0!==t[Ko])){var e=!0;try{ai(t,oi,!0),t[ri]||p.Component.prototype.forceUpdate.call(t),e=!1}finally{ai(t,oi,!1),e&&s.dispose()}}});return s.reactComponent=this,n[Xo]=s,this.render=n,n.call(this)}.call(this,l)},n}var mi=hi(function(e){var t=e.children,n=e.inject,r=e.render,o=t||r;if(void 0===o)return null;if(!n)return o();console.warn(" is no longer supported. Please use inject on the enclosing component instead");var i=Go(n)(o);return f.a.createElement(i,null)});mi.displayName="Observer";var gi=function(e,t,n,r,o){var i="children"===t?"render":"children";return"function"==typeof e[t]&&"function"==typeof e[i]?new Error("Invalid prop,do not use children and render in the same time in`"+n):"function"!=typeof e[t]&&"function"!=typeof e[i]?new Error("Invalid prop `"+o+"` of type `"+so(e[t])+"` supplied to `"+n+"`, expected `function`."):void 0};function yi(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function vi(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function bi(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}mi.propTypes={render:gi,children:gi},yi.__suppressDeprecationWarning=!0,vi.__suppressDeprecationWarning=!0,bi.__suppressDeprecationWarning=!0;var wi={children:!0,key:!0,ref:!0},xi=function(e){function t(e,n){var r;return lo(this,t),(r=go(this,ho(t).call(this,e,n))).state={},ki(e,r.state),r}return fo(t,p["Component"]),uo(t,[{key:"render",value:function(){return p.Children.only(this.props.children)}},{key:"getChildContext",value:function(){var e={};return ki(this.context.mobxStores,e),ki(this.props,e),{mobxStores:e}}}],[{key:"getDerivedStateFromProps",value:function(e,t){if(!e)return null;if(!t)return e;if(Object.keys(e).filter(Ei).length!==Object.keys(t).filter(Ei).length&&console.warn("MobX Provider: The set of provided stores has changed. Please avoid changing stores as the change might not propagate to all children"),!e.suppressChangedStoreWarning)for(var n in e)Ei(n)&&t[n]!==e[n]&&console.warn("MobX Provider: Provided store '"+n+"' has changed. Please avoid replacing stores as the change might not propagate to all children");return e}}]),t}();function ki(e,t){if(e)for(var n in e)Ei(n)&&(t[n]=e[n])}function Ei(e){return!wi[e]&&"suppressChangedStoreWarning"!==e}xi.contextTypes={mobxStores:Fo},xi.childContextTypes={mobxStores:Fo.isRequired},function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,r=null,o=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?o="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==n||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=yi,t.componentWillReceiveProps=vi),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=bi;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,e,t,r)}}}(xi);Bo("disposeOnUnmount");if(!p.Component)throw new Error("mobx-react requires React to be available");if(!Le.n)throw new Error("mobx-react requires mobx to be available");"function"==typeof d.unstable_batchedUpdates&&Object(Le.f)({reactionScheduler:d.unstable_batchedUpdates});if("object"===("undefined"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__?"undefined":so(__MOBX_DEVTOOLS_GLOBAL_HOOK__))){var Si={spy:Le.n,extras:{getDebugName:Le.h}},_i={renderReporter:ni,componentByNodeRegistry:ti,componentByNodeRegistery:ti,trackComponents:function(){if("undefined"==typeof WeakMap)throw new Error("[mobx-react] tracking components is not supported in this browser.");Jo||(Jo=!0)}};__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobxReact(_i,Si)}var Oi=Se.div.withConfig({componentId:"wqp0hm-0"})(["",";",""],Vr,function(e){return e.compact?"":"margin: 1em 0"}),Ci=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props.externalDocs;return e&&e.url?p.createElement(Oi,{compact:this.props.compact},p.createElement("a",{href:e.url},e.description||e.url)):null},t=s([hi],t)}(p.Component),Ti=Se(on).withConfig({componentId:"sc-1wocv4m-0"})(["margin-top:0;margin-bottom:0.5em;",";"],_e("ApiHeader")),ji=Se.a.withConfig({componentId:"sc-1wocv4m-1"})(["border:1px solid ",";color:",";font-weight:normal;margin-left:0.5em;padding:4px 8px 4px;display:inline-block;text-decoration:none;cursor:pointer;",";"],function(e){return e.theme.colors.primary.main},function(e){return e.theme.colors.primary.main},_e("DownloadButton")),Ai=Se.span.withConfig({componentId:"sc-1wocv4m-2"})(["&::before{content:'|';display:inline-block;opacity:0.5;width:","px;text-align:center;}&:last-child::after{display:none;}"],15),Ii=Se.div.withConfig({componentId:"sc-1wocv4m-3"})(["overflow:hidden;"]),Pi=Se.div.withConfig({componentId:"sc-1wocv4m-4"})(["display:flex;flex-wrap:wrap;margin-left:-","px;"],15),Ri=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleDownloadClick=function(e){e.target.href||(e.target.href=t.props.store.spec.info.downloadLink)},t}return i(t,e),t.prototype.render=function(){var e=this.props.store,t=e.spec,n=t.info,r=t.externalDocs,o=e.options.hideDownloadButton,i=n.downloadFileName,a=n.downloadLink,s=n.license&&p.createElement(Ai,null,"License: ",p.createElement("a",{href:n.license.url},n.license.name))||null,l=n.contact&&n.contact.url&&p.createElement(Ai,null,"URL: ",p.createElement("a",{href:n.contact.url},n.contact.url))||null,c=n.contact&&n.contact.email&&p.createElement(Ai,null,n.contact.name||"E-mail",":"," ",p.createElement("a",{href:"mailto:"+n.contact.email},n.contact.email))||null,u=n.termsOfService&&p.createElement(Ai,null,p.createElement("a",{href:n.termsOfService},"Terms of Service"))||null,f=n.version&&p.createElement("span",null,"(",n.version,")")||null;return p.createElement(Jt,null,p.createElement(tn,null,p.createElement(Kt,{className:"api-info"},p.createElement(Ti,null,n.title," ",f),!o&&p.createElement("p",null,"Download OpenAPI specification:",p.createElement(ji,{download:i,target:"_blank",href:a,onClick:this.handleDownloadClick},"Download")),p.createElement(Qr,null,(n.license||n.contact||n.termsOfService)&&p.createElement(Ii,null,p.createElement(Pi,null,c," ",l," ",s," ",u))||null),p.createElement(Zr,{source:e.spec.info.description}),r&&p.createElement(Ci,{externalDocs:r}))))},t=s([hi],t)}(p.Component),Ni=Se.img.withConfig({componentId:"sc-4unfj-0"})(["max-height:",";max-width:",";padding-top:",";padding-bottom:",";padding-left:",";padding-right:",";width:100%;display:block;"],function(e){return e.theme.logo.maxHeight},function(e){return e.theme.logo.maxWidth},function(e){return e.theme.logo.paddingTop},function(e){return e.theme.logo.paddingBottom},function(e){return e.theme.logo.paddingLeft},function(e){return e.theme.logo.paddingRight}),Li=Se.div.withConfig({componentId:"sc-4unfj-1"})(["text-align:",";"],function(e){return e.theme.logo.isCentered?"center":"left"}),Mi=Se.a.withConfig({componentId:"sc-4unfj-2"})(["display:inline-block;width:50%;"]),Di=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props.info,t=e["x-logo"];if(!t||!t.url)return null;var n,r=t.href||e.contact&&e.contact.url,o=t.altText?t.altText:"logo",i=p.createElement(Ni,{src:t.url,style:{backgroundColor:t.backgroundColor},alt:o});return p.createElement(Li,null,r?(n=r,function(e){return p.createElement(Mi,{href:n},e)})(i):i)},t=s([hi],t)}(p.Component),Fi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this;return p.createElement(Ne,null,function(t){return p.createElement(fn,null,function(n){return e.renderWithOptionsAndStore(t,n)})})},t.prototype.renderWithOptionsAndStore=function(e,t){var n=this.props,r=n.source,o=n.htmlWrap,i=void 0===o?function(e){return e}:o;if(!t)throw new Error("When using componentes in markdown, store prop must be provided");var s=new xt(e).renderMdWithComponents(r);return s.length?s.map(function(e,n){return"string"==typeof e?p.cloneElement(i(p.createElement(Kr,{html:e,inline:!1,compact:!1})),{key:n}):p.createElement(e.component,a({key:n},a({},e.props,e.propsSelector(t))))}):null},t}(p.Component),Ui=Se.code.withConfig({componentId:"sc-1e9ku62-0"})(["font-size:",";font-family:",";border:1px solid ",";margin:0 3px;padding:0.2em;display:inline-block;line-height:1;&:after{content:',';}&:last-child:after{content:none;}"],function(e){return e.theme.typography.code.fontSize},function(e){return e.theme.typography.code.fontFamily},function(e){return e.theme.colors.border.dark}),Bi=Se.span.withConfig({componentId:"sc-1e9ku62-1"})(["&:after{content:' AND ';font-weight:bold;}&:last-child:after{content:none;}",";"],Vr),zi=Se.span.withConfig({componentId:"sc-1e9ku62-2"})(["&:before{content:'( ';font-weight:bold;}&:after{content:' ) OR ';font-weight:bold;}&:last-child:after{content:' )';}&:only-child:before,&:only-child:after{content:none;}",";"],Vr),$i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props.security;return p.createElement(zi,null,e.schemes.map(function(e){return p.createElement(Bi,{key:e.id},p.createElement(gn,{to:e.sectionId},e.id),e.scopes.length>0&&" (",e.scopes.map(function(e){return p.createElement(Ui,{key:e},e)}),e.scopes.length>0&&") ")}))},t}(p.PureComponent),qi=Se.div.withConfig({componentId:"sc-1e9ku62-3"})(["flex:1;"]),Wi=Se.div.withConfig({componentId:"sc-1e9ku62-4"})(["width:",";"],function(e){return e.theme.schema.defaultDetailsWidth}),Hi=Se(ln).withConfig({componentId:"sc-1e9ku62-5"})(["display:inline-block;margin:0;"]),Yi=Se.div.withConfig({componentId:"sc-1e9ku62-6"})(["width:100%;display:flex;margin:1em 0;"]),Vi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props.securities;return e.length?p.createElement(Yi,null,p.createElement(qi,null,p.createElement(Hi,null,"Authorizations: ")),p.createElement(Wi,null,e.map(function(e,t){return p.createElement($i,{key:t,security:e})}))):null},t}(p.PureComponent),Qi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleClick=function(){ao.selectElement(t.child)},t}return i(t,e),t.prototype.render=function(){var e=this,t=this.props.children;return p.createElement("div",{ref:function(t){return e.child=t},onClick:this.handleClick},t)},t}(p.PureComponent),Gi=Se.div.withConfig({componentId:"dtiiwd-0"})(["cursor:pointer;position:relative;margin-bottom:5px;"]),Xi=Se.span.withConfig({componentId:"dtiiwd-1"})(["font-family:",";margin-left:10px;flex:1;overflow-x:hidden;text-overflow:ellipsis;"],function(e){return e.theme.typography.headings.fontFamily}),Ki=Se.div.withConfig({componentId:"dtiiwd-2"})(["padding:10px 30px 10px ",";border-radius:",";background-color:",";display:flex;white-space:nowrap;align-items:center;border:",";border-bottom:",";transition:border-color 0.25s ease;"," .","{color:","}"],function(e){return e.inverted?"10px":"20px"},function(e){return e.inverted?"0":"4px 4px 0 0"},function(e){return e.inverted?"transparent":e.theme.codeSample.backgroundColor},function(e){return e.inverted?"0":"1px solid transparent"},function(e){return e.inverted?"1px solid #ccc":"0"},function(e){return e.expanded&&!e.inverted&&"border-color: "+e.theme.colors.border.dark+";"||""},Xi,function(e){return e.inverted?e.theme.colors.text.primary:"#ffffff"}),Ji=Se.span.attrs(function(e){return{className:"http-verb "+e.type}}).withConfig({componentId:"dtiiwd-3"})(["font-size:0.929em;line-height:20px;background-color:",";color:#ffffff;padding:3px 10px;text-transform:uppercase;font-family:",";margin:0;"],function(e){return e.theme.colors.http[e.type]||"#999999"},function(e){return e.theme.typography.headings.fontFamily}),Zi=Se.div.withConfig({componentId:"dtiiwd-4"})(["position:absolute;width:100%;z-index:100;background:#fafafa;color:#263238;box-sizing:border-box;box-shadow:0px 0px 6px rgba(0,0,0,0.33);overflow:hidden;border-bottom-left-radius:4px;border-bottom-right-radius:4px;transition:all 0.25s ease;",""],function(e){return e.expanded?"":"transform: translateY(-50%) scaleY(0);"}),ea=Se.div.withConfig({componentId:"dtiiwd-5"})(["padding:10px;"]),ta=Se.div.withConfig({componentId:"dtiiwd-6"})(["padding:5px;border:1px solid #ccc;background:#fff;word-break:break-all;color:",";> span{color:",";}"],function(e){return e.theme.colors.primary.main},function(e){return e.theme.colors.text.primary}),na=function(e){function t(t){var n=e.call(this,t)||this;return n.toggle=function(){n.setState({expanded:!n.state.expanded})},n.state={expanded:!1},n}return i(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.operation,r=t.inverted,o=t.hideHostname,i=this.state.expanded;return p.createElement(Pe.Consumer,null,function(t){return p.createElement(Gi,null,p.createElement(Ki,{onClick:e.toggle,expanded:i,inverted:r},p.createElement(Ji,{type:n.httpVerb}," ",n.httpVerb)," ",p.createElement(Xi,null,n.path),p.createElement(wn,{float:"right",color:r?"black":"white",size:"20px",direction:i?"up":"down",style:{marginRight:"-25px"}})),p.createElement(Zi,{expanded:i},n.servers.map(function(e){return p.createElement(ea,{key:e.url},p.createElement(Zr,{source:e.description||"",compact:!0}),p.createElement(Qi,null,p.createElement(ta,null,p.createElement("span",null,o||t.hideHostname?(r=e.url,new URL(r).pathname):e.url),n.path)));var r})))})},t}(p.Component);function ra(e){var t=e.Label,n=void 0===t?Un:t,r=e.Dropdown,o=void 0===r?Fn:r;if(1===e.options.length){var i=e.options[0].label;return p.createElement(n,null,"xdr"===i?"":i)}return p.createElement(o,a({},e))}var oa=Se(On).withConfig({componentId:"f9szo8-0"})(["cursor:pointer;","{height:",";width:",";polygon{fill:",";}}"],wn,function(e){return e.theme.schema.arrow.size},function(e){return e.theme.schema.arrow.size},function(e){return e.theme.schema.arrow.color}),ia=Se.span.withConfig({componentId:"f9szo8-1"})(["vertical-align:middle;font-size:",";line-height:20px;"],function(e){return e.theme.typography.code.fontSize}),aa=Se(ia).withConfig({componentId:"f9szo8-2"})(["color:",";"],function(e){return ee(.2,e.theme.schema.typeNameColor)}),sa=Se(ia).withConfig({componentId:"f9szo8-3"})(["color:",";"],function(e){return e.theme.schema.typeNameColor}),la=Se(ia).withConfig({componentId:"f9szo8-4"})(["color:",";"],function(e){return e.theme.schema.typeTitleColor}),ca=sa,ua=Se(ia.withComponent("div")).withConfig({componentId:"f9szo8-5"})(["color:",";font-size:",";font-weight:normal;margin-left:20px;line-height:1;"],function(e){return e.theme.schema.requireLabelColor},function(e){return e.theme.schema.labelsTextSize}),pa=Se(ia).withConfig({componentId:"f9szo8-6"})(["color:",";font-size:13px;"],function(e){return e.theme.colors.warning.main}),fa=Se(ia).withConfig({componentId:"f9szo8-7"})(["color:#3195a6;font-size:13px;"]),da=Se(ia).withConfig({componentId:"f9szo8-8"})(["color:#3195a6;&::before,&::after{font-weight:bold;}&::before{content:' /';}&::after{content:'/ ';}"]),ha=Se(ia).withConfig({componentId:"f9szo8-9"})(["border-radius:2px;",";& + &{margin-left:0;}",";"],function(e){var t=e.theme;return"\n background-color: "+ee(.95,t.colors.text.primary)+";\n color: "+ee(.1,t.colors.text.primary)+";\n\n margin: "+t.spacing.unit+"px;\n padding: 0 "+t.spacing.unit+"px;\n border: 1px solid "+ee(.9,t.colors.text.primary)+";\n font-family: "+t.typography.code.fontFamily+";\n color: "+t.typography.code.color+";\n}"},_e("ExampleValue")),ma=Se(ia).withConfig({componentId:"f9szo8-10"})(["border-radius:2px;",";& + &{margin-left:0;}",";"],function(e){var t=e.theme;return"\n background-color: "+ee(.95,t.colors.primary.light)+";\n color: "+ee(.1,t.colors.primary.main)+";\n\n margin: 0 "+t.spacing.unit+"px;\n padding: 0 "+t.spacing.unit+"px;\n border: 1px solid "+ee(.9,t.colors.primary.main)+";\n}"},_e("ConstraintItem")),ga=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.values,n=e.type;return t.length?p.createElement("div",null,p.createElement(ia,null,"array"===n?"Items":""," ",1===t.length?"Value":"Enum",":"),t.map(function(e,t){return p.createElement(ha,{key:t},JSON.stringify(e)," ")})):null},t}(p.PureComponent),ya=Se(Qr).withConfig({componentId:"sc-14f0y4s-0"})(["opacity:0.9;margin:2px 0;"]),va=Se.span.withConfig({componentId:"sc-14f0y4s-1"})(["font-style:italic;"]),ba=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this;return p.createElement(Pe.Consumer,null,function(t){return p.createElement(p.Fragment,null,t.showExtensions&&Object.keys(e.props.extensions).map(function(t){return p.createElement(ya,{key:t},p.createElement(va,null,t),":"," ",p.createElement("code",null,JSON.stringify(e.props.extensions[t])))}))})},t}(p.PureComponent),wa=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){return 0===this.props.constraints.length?null:p.createElement("span",null," ",this.props.constraints.map(function(e){return p.createElement(ma,{key:e}," ",e," ")}))},t}(p.PureComponent),xa=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){return void 0===this.props.value?null:p.createElement("div",null,p.createElement(ia,null," ",this.props.label," ")," ",p.createElement(ha,null," ",JSON.stringify(this.props.value)," "))},t}(p.PureComponent),ka=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.showExamples,n=e.field,r=e.renderDiscriminatorSwitch,o=n.schema,i=n.description,s=n.example,l=n.deprecated;return p.createElement("div",null,p.createElement("div",null,p.createElement(aa,null,o.typePrefix),p.createElement(sa,null,ot(o.displayType)),o.displayFormat&&p.createElement(ca,null," ","<",o.displayFormat,">"," "),o.title&&p.createElement(la,null," (",o.title,") "),p.createElement(wa,{constraints:o.constraints}),o.nullable&&p.createElement(fa,null," Nullable "),o.pattern&&p.createElement(da,null,o.pattern),o.isCircular&&p.createElement(pa,null," Recursive ")),l&&p.createElement("div",null,p.createElement(xn,{type:"warning"}," Deprecated ")),p.createElement(xa,{label:"Default:",value:o.default}),!r&&p.createElement(ga,{type:o.type,values:o.enum})," ",t&&p.createElement(xa,{label:"Example:",value:s}),p.createElement(ba,{extensions:a({},n.extensions,o.extensions)}),p.createElement("div",null,p.createElement(Zr,{compact:!0,source:i})),o.externalDocs&&p.createElement(Ci,{externalDocs:o.externalDocs,compact:!0}),r&&r(this.props)||null)},t}(p.PureComponent),Ea=Se.div.withConfig({componentId:"sc-140a9jt-0"})(["padding-left:","px;"],function(e){return 2*e.theme.spacing.unit}),Sa=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props.schema.items;return p.createElement("div",null,p.createElement(Nn,null," Array "),p.createElement(Ea,null,p.createElement(ja,a({},this.props,{schema:e}))),p.createElement(Ln,null))},t}(p.PureComponent),_a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.changeActiveChild=function(e){var n=e.value,r=parseInt(n,10);t.props.parent.activateOneOf(r)},t}return i(t,e),t.prototype.sortOptions=function(e,t){if(0!==t.length){var n={};t.forEach(function(e,t){n[e]=t}),e.sort(function(e,t){return n[e.label]>n[t.label]?1:-1})}},t.prototype.render=function(){var e=this.props,t=e.parent,n=e.enumValues;if(void 0===t.oneOf)return null;var r=t.oneOf.map(function(e,t){return{value:t.toString(),label:e.title}}),o=r[t.activeOneOf];return this.sortOptions(r,n),p.createElement(Dn,{value:o,options:r,onChange:this.changeActiveChild})},t=s([hi],t)}(p.Component),Oa=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"parentSchema",{get:function(){return this.props.discriminator.parentSchema},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.schema.fields,r=void 0===n?[]:n,o=t.showTitle,i=t.discriminator,a=this.props.skipReadOnly||this.props.skipWriteOnly?r.filter(function(t){return e.props.skipReadOnly&&!t.schema.readOnly||e.props.skipWriteOnly&&!t.schema.writeOnly}):r;return p.createElement(An,null,o&&p.createElement(En,null,this.props.schema.title),p.createElement("tbody",null,le(a,function(t,n){return p.createElement(Aa,{key:t.name,isLast:n,field:t,renderDiscriminatorSwitch:i&&i.fieldName===t.name&&function(){return p.createElement(_a,{parent:e.parentSchema,enumValues:t.schema.enum})}||void 0,className:t.expanded?"expanded":void 0,showExamples:!1,skipReadOnly:e.props.skipReadOnly,skipWriteOnly:e.props.skipWriteOnly,showTitle:e.props.showTitle})})))},t=s([hi],t)}(p.Component),Ca=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.activateOneOf=function(){t.props.schema.activateOneOf(t.props.idx)},t.getContentToRender=function(e){var n=t.props.subSchema;return n.title?e?n.title.split("Arm")[1]:n.title:n.typePrefix+n.displayType},t}return i(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.idx,r=t.schema;return p.createElement(Rn,{active:n===r.activeOneOf,onClick:this.activateOneOf},p.createElement(Pe.Consumer,null,function(t){return e.getContentToRender(t.cropArmPrefixes)}))},t=s([hi],t)}(p.Component),Ta=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.schema.oneOf,n=e.schema;return void 0===t?null:p.createElement("div",null,p.createElement(Pn,null," ",n.oneOfType," "),p.createElement(In,null,t.map(function(e,t){return p.createElement(Ca,{key:e.pointer,schema:n,subSchema:e,idx:t})})),p.createElement(ja,a({},this.props,{schema:t[n.activeOneOf]})))},t=s([hi],t)}(p.Component),ja=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props.schema;if(!e)return p.createElement("em",null," Schema not provided ");var t=e.type,n=e.oneOf,r=e.discriminatorProp;if(e.isCircular)return p.createElement("div",null,p.createElement(sa,null,ot(e.displayType)),e.title&&p.createElement(la,null," ",e.title," "),p.createElement(pa,null," Recursive "));if(void 0!==r){if(!n||!n.length)throw new Error("Looks like you are using discriminator wrong: you don't have any definition inherited from the "+e.title);return p.createElement(Oa,a({},a({},this.props,{schema:n[e.activeOneOf]}),{discriminator:{fieldName:r,parentSchema:e}}))}if(void 0!==n)return p.createElement(Ta,a({schema:e},this.props));switch(t){case"object":return p.createElement(Oa,a({},this.props));case"array":return p.createElement(Sa,a({},this.props))}var o={schema:e,name:"",required:!1,description:e.description,externalDocs:e.externalDocs,deprecated:!1,toggle:function(){return null},expanded:!1};return p.createElement("div",null,p.createElement(ka,{field:o}))},t=s([hi],t)}(p.Component),Aa=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.toggle=function(){t.props.field.toggle()},t}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.field,r=e.isLast,o=n.name,i=n.expanded,s=n.deprecated,l=n.required,c=n.kind,u=!n.schema.isPrimitive&&!n.schema.isCircular,f=u?p.createElement(oa,{onClick:this.toggle,className:s?"deprecated":"",kind:c,title:o},p.createElement(Tn,null),o,p.createElement(wn,{direction:i?"down":"right"}),l&&p.createElement(ua,null," required ")):p.createElement(On,{className:s?"deprecated":void 0,kind:c,title:o},p.createElement(Tn,null),o,l&&p.createElement(ua,null," required "));return p.createElement(p.Fragment,null,p.createElement("tr",{className:r?"last "+t:t},f,p.createElement(Cn,null,p.createElement(ka,a({},this.props)))),n.expanded&&u&&p.createElement("tr",{key:n.name+"inner"},p.createElement(_n,{colSpan:2},p.createElement(jn,null,p.createElement(ja,{schema:n.schema,skipReadOnly:this.props.skipReadOnly,skipWriteOnly:this.props.skipWriteOnly,showTitle:this.props.showTitle})))))},t=s([hi],t)}(p.Component),Ia=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.place,n=e.parameters;if(!n||!n.length)return null;var r=function(e){return e.children};return p.createElement("div",{key:t},p.createElement(Pe.Consumer,null,function(e){if(e.rootParamNameAsGroupHeader){if(1!==n.length)throw new Error("rootParamNameAsGroupHeader can be used only for one root parameter");for(var o=n[0],i=[],a=0,s=o.schema.fields||[];a0?Ra:[],a=t&&t.content;return p.createElement("div",null,i.map(function(e){return p.createElement(Ia,{key:e,place:e,parameters:o[e]})}),a&&p.createElement(Ma,{content:a}))},t}(p.PureComponent);function La(e){return p.createElement(ln,{key:"header"},"Request Body schema: ",p.createElement(ra,a({},e)))}function Ma(e){var t=e.content;return p.createElement(Pa,{content:t,renderDropdown:La},function(e){var t=e.schema;return p.createElement(ja,{skipReadOnly:!0,key:"schema",schema:t})})}var Da=Se.div.withConfig({componentId:"sc-1r748gg-0"})(["position:relative;"]),Fa=Se.div.withConfig({componentId:"sc-1r748gg-1"})(["position:absolute;min-width:80px;max-width:500px;background:#fff;bottom:100%;left:50%;margin-bottom:10px;transform:translateX(-50%);border-radius:4px;padding:0.3em 0.6em;text-align:center;box-shadow:0px 0px 5px 0px rgba(204,204,204,1);"]),Ua=Se.div.withConfig({componentId:"sc-1r748gg-2"})(["background:#fff;color:#000;display:inline;font-size:0.85em;white-space:nowrap;"]),Ba=Se.div.withConfig({componentId:"sc-1r748gg-3"})(["position:absolute;width:0;height:0;bottom:-5px;left:50%;margin-left:-5px;border-left:solid transparent 5px;border-right:solid transparent 5px;border-top:solid #fff 5px;"]),za=Se.div.withConfig({componentId:"sc-1r748gg-4"})(["position:absolute;width:100%;height:20px;bottom:-20px;"]),$a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.open,n=e.title,r=e.children;return p.createElement(Da,null,r,t&&p.createElement(Fa,null,p.createElement(Ua,null,n),p.createElement(Ba,null),p.createElement(za,null)))},t}(p.Component),qa=function(e){function t(t){var n=e.call(this,t)||this;return n.copy=function(){var e="string"==typeof n.props.data?n.props.data:JSON.stringify(n.props.data,null,2);ao.copyCustom(e),n.showTooltip()},n.renderCopyButton=function(){return p.createElement("span",{onClick:n.copy},p.createElement($a,{title:ao.isSupported()?"Copied":"Not supported in your browser",open:n.state.tooltipShown},"Copy"))},n.state={tooltipShown:!1},n}return i(t,e),t.prototype.render=function(){return this.props.children({renderCopyButton:this.renderCopyButton})},t.prototype.showTooltip=function(){var e=this;this.setState({tooltipShown:!0}),setTimeout(function(){e.setState({tooltipShown:!1})},1500)},t}(p.PureComponent),Wa=1,Ha=2;function Ya(e){return void 0!==e?e.toString().replace(/&/g,"&").replace(/"/g,""").replace(//g,">"):""}function Va(e){return e.replace(/([\\"])/g,"\\$1")}function Qa(e,t){return''+Ya(e)+""}function Ga(e){return''+e+""}function Xa(e){var t=typeof e,n="";return null==e?n+=Qa("null","token keyword"):e&&e.constructor===Array?(Wa++,n+=function(e){for(var t=Wa>Ha?"collapsed":"",n='
'+Ga("[")+'
    ',r=!1,o=e.length,i=0;i
    ',n+=Xa(e[i]),i";n+="
"+Ga("]"),r||(n=Ga("[ ]"));return n}(e),Wa--):e&&e.constructor===Date?n+=Qa('"'+e.toISOString()+'"',"token string"):"object"===t?(Wa++,n+=function(e){for(var t=Wa>Ha?"collapsed":"",n=Object.keys(e),r=n.length,o='
'+Ga("{")+'
    ',i=!1,a=0;a
    ',o+='"'+Ya(s)+'": ',o+=Xa(e[s]),a"}o+="
"+Ga("}"),i||(o=Ga("{ }"));return o}(e),Wa--):"number"===t?n+=Qa(e,"token number"):"string"===t?/^(http|https):\/\/[^\s]+$/.test(e)?n+=Qa('"',"token string")+''+Ya(Va(e))+""+Qa('"',"token string"):n+=Qa('"'+Va(e)+'"',"token string"):"boolean"===t&&(n+=Qa(e,"token boolean")),n}var Ka=be([".redoc-json > .collapser{display:none;}font-family:",";font-size:",";white-space:",";contain:content;overflow-x:auto;.callback-function{color:gray;}.collapser:after{content:'-';cursor:pointer;}.collapsed > .collapser:after{content:'+';cursor:pointer;}.ellipsis:after{content:' … ';}.collapsible{margin-left:2em;}.hoverable{padding-top:1px;padding-bottom:1px;padding-left:2px;padding-right:2px;border-radius:2px;}.hovered{background-color:rgba(235,238,249,1);}.collapser{padding-right:6px;padding-left:6px;}ul{list-style-type:none;padding:0px;margin:0px 0px 0px 26px;}li{position:relative;display:block;}.hoverable{display:inline-block;}.selected{outline-style:solid;outline-width:1px;outline-style:dotted;}.collapsed > .collapsible{display:none;}.ellipsis{display:none;}.collapsed > .ellipsis{display:inherit;}.collapser{position:absolute;top:1px;left:-1.5em;cursor:default;user-select:none;-webkit-user-select:none;}"],function(e){return e.theme.typography.code.fontFamily},function(e){return e.theme.typography.code.fontSize},function(e){return e.theme.typography.code.wrap?"pre-wrap":"pre"}),Ja=Se.div.withConfig({componentId:"sc-1d4kmz-0"})(["&:hover > ","{opacity:1;}"],pr),Za=Se(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.renderInner=function(e){var n=e.renderCopyButton;return p.createElement(Ja,null,p.createElement(pr,null,n(),p.createElement("span",{onClick:t.expandAll}," Expand all "),p.createElement("span",{onClick:t.collapseAll}," Collapse all ")),p.createElement(Yr,{className:t.props.className,ref:function(e){return t.node=e},dangerouslySetInnerHTML:{__html:function(e){Wa=1;var t="";return t+='
',t+=Xa(e),t+="
"}(t.props.data)}}))},t.expandAll=function(){for(var e=t.node.getElementsByClassName("collapsible"),n=0,r=Array.prototype.slice.call(e);n1)return p.createElement(ur,{defaultIndex:0},p.createElement(or,null,o.map(function(t){return p.createElement(ar,{key:t}," ",e[t].summary||t," ")})),o.map(function(t){return p.createElement(lr,{key:t},r(e[t].value))}));var i=o[0];return p.createElement("div",null,r(e[i].value))},t}(p.Component),ss=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.renderDropdown=function(e){return p.createElement(ra,a({Label:rs,Dropdown:os},e))},t}return i(t,e),t.prototype.render=function(){var e=this.props.content;return void 0===e?null:p.createElement(Pa,{content:e,renderDropdown:this.renderDropdown},function(e){return p.createElement(as,{key:"samples",mediaType:e})})},t=s([hi],t)}(p.Component),ls=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props.operation,t=e.requestBody&&e.requestBody.content,n=t&&t.hasSample,r=e.codeSamples;return(n||r.length>0)&&p.createElement("div",null,p.createElement(Pe.Consumer,null,function(e){return p.createElement(sn,null,e.codeSamplesInsteadOfRequestSamples?"Code samples":"Request samples")}),p.createElement(cr,{defaultIndex:0},p.createElement(or,null,n&&p.createElement(ar,{key:"payload"}," Payload "),r.map(function(e){return p.createElement(ar,{key:e.lang+"_"+(e.label||"")},void 0!==e.label?e.label:e.lang)})),n&&p.createElement(lr,{key:"payload"},p.createElement("div",null,p.createElement(ss,{content:t}))),r.map(function(e){return p.createElement(lr,{key:e.lang},p.createElement(ns,{lang:e.lang,source:e.source}))})))||null},t=s([hi],t)}(p.Component),cs=Se(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.title,n=e.type,r=e.empty,o=e.code,i=e.opened,a=e.className,s=e.onClick;return p.createElement("div",{className:a,onClick:!r&&s||void 0},!r&&p.createElement(wn,{size:"1.5em",color:n,direction:i?"up":"down",float:"left"}),p.createElement("strong",null,o," "),p.createElement(Zr,{compact:!0,inline:!0,source:t}))},t}(p.PureComponent)).withConfig({componentId:"n35ln5-0"})(["padding:10px;border-radius:2px;margin-bottom:4px;line-height:1.5em;background-color:#f2f2f2;cursor:pointer;color:",";background-color:",";",";"],function(e){return e.theme.colors.responses[e.type].color},function(e){return e.theme.colors.responses[e.type].backgroundColor},function(e){return e.empty?'\ncursor: default;\n&::before {\n content: "—";\n font-weight: bold;\n width: 1.5em;\n text-align: center;\n display: inline-block;\n}\n':""}),us=Se.div.withConfig({componentId:"n35ln5-1"})(["padding:10px;"]),ps=Se(ln.withComponent("caption")).withConfig({componentId:"n35ln5-2"})(["text-align:left;margin-top:1em;caption-side:top;"]),fs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props.headers;return void 0===e||0===e.length?null:p.createElement(An,null,p.createElement(ps,null," Response Headers "),p.createElement("tbody",null,le(e,function(e,t){return p.createElement(Aa,{isLast:t,key:e.name,field:e,showExamples:!0})})))},t}(p.PureComponent),ds=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.renderDropdown=function(e){return p.createElement(ln,{key:"header"},"Response Schema ",p.createElement(ra,a({},e)))},t}return i(t,e),t.prototype.render=function(){var e=this.props.response,t=e.description,n=e.headers,r=e.content;return p.createElement(p.Fragment,null,t&&p.createElement(Zr,{source:t}),p.createElement(fs,{headers:n}),p.createElement(Pa,{content:r,renderDropdown:this.renderDropdown},function(e){var t=e.schema;return p.createElement(ja,{skipWriteOnly:!0,key:"schema",schema:t})}))},t}(p.PureComponent),hs=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.toggle=function(){t.props.response.toggle()},t}return i(t,e),t.prototype.render=function(){var e=this.props.response,t=e.headers,n=e.type,r=e.summary,o=e.description,i=e.code,a=e.expanded,s=e.content,l=void 0===s?[]:s.mediaTypes.filter(function(e){return void 0!==e.schema}),c=0===t.length&&0===l.length&&!o;return p.createElement("div",null,p.createElement(cs,{onClick:this.toggle,type:n,empty:c,title:r||"",code:i,opened:a}),a&&!c&&p.createElement(us,null,p.createElement(ds,{response:this.props.response})))},t=s([hi],t)}(p.Component),ms=Se.h3.withConfig({componentId:"sc-1xi9kpc-0"})(["font-size:18px;padding:0.2em 0;margin:3em 0 1.1em;color:#253137;font-weight:normal;"]),gs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props.responses;return e&&0!==e.length?p.createElement(Pe.Consumer,null,function(t){return t.flattenResponseView?e.map(function(e){return p.createElement(us,{key:e.code},p.createElement(ds,{response:e}))}):p.createElement("div",null,p.createElement(ms,null," Responses "),e.map(function(e){return p.createElement(hs,{key:e.code,response:e})}))}):null},t}(p.PureComponent),ys=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props.operation.responses.filter(function(e){return e.content&&e.content.hasSample});return e.length>0&&p.createElement("div",null,p.createElement(sn,null," Response samples "),p.createElement(cr,{defaultIndex:0},p.createElement(or,null,e.map(function(e){return p.createElement(ar,{className:"tab-"+e.type,key:e.code},e.code)})),e.map(function(e){return p.createElement(lr,{key:e.code},p.createElement("div",null,p.createElement(ss,{content:e.content})))})))||null},t=s([hi],t)}(p.Component),vs=Se(tn).withConfig({componentId:"ujs6aj-0"})(["backface-visibility:hidden;contain:content;overflow:hidden;"]),bs=Se.div.withConfig({componentId:"ujs6aj-1"})(["margin-bottom:","px;"],function(e){return 6*e.theme.spacing.unit}),ws=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props.operation,t=e.name,n=e.description,r=e.deprecated,o=e.externalDocs,i=!(!n&&!o);return p.createElement(Pe.Consumer,null,function(a){return p.createElement(vs,null,p.createElement(Kt,null,p.createElement(an,null,p.createElement(vn,{to:e.id}),t," ",r&&p.createElement(xn,{type:"warning"}," Deprecated ")),!a.hidePath&&a.pathInMiddlePanel&&p.createElement(na,{operation:e,inverted:!0}),i&&p.createElement(bs,null,void 0!==n&&p.createElement(Zr,{source:n}),o&&p.createElement(Ci,{externalDocs:o})),p.createElement(ba,{extensions:e.extensions}),p.createElement(Vi,{securities:e.security}),p.createElement(Na,{parameters:e.parameters,body:e.requestBody}),p.createElement(gs,{responses:e.responses})),p.createElement(en,null,!a.hidePath&&!a.pathInMiddlePanel&&p.createElement(na,{operation:e}),p.createElement(ls,{operation:e}),!a.hideResponseSamples&&p.createElement(ys,{operation:e})))})},t=s([hi],t)}(p.Component),xs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props.items;return 0===e.length?null:e.map(function(e){return p.createElement(ks,{item:e,key:e.id})})},t=s([hi],t)}(p.Component),ks=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e,t=this.props.item;switch(t.type){case"group":e=null;break;case"tag":case"section":e=p.createElement(Ss,a({},this.props));break;case"operation":e=p.createElement(_s,{item:t});break;default:e=p.createElement(Ss,a({},this.props))}return p.createElement(p.Fragment,null,e&&p.createElement(Jt,{id:t.id,underlined:"operation"===t.type},e),t.items&&p.createElement(xs,{items:t.items}))},t=s([hi],t)}(p.Component),Es=function(e){return p.createElement(Kt,null,e)},Ss=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props.item,t=e.name,n=e.description,r=e.externalDocs,o=2===e.level?an:on;return p.createElement(p.Fragment,null,p.createElement(tn,null,p.createElement(Kt,null,p.createElement(o,null,p.createElement(vn,{to:this.props.item.id}),t))),p.createElement(Fi,{source:n||"",htmlWrap:Es}),r&&p.createElement(tn,null,p.createElement(Kt,null,p.createElement(Ci,{externalDocs:r}))))},t=s([hi],t)}(p.Component),_s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){return p.createElement(ws,{operation:this.props.item})},t=s([hi],t)}(p.Component),Os=Se.span.attrs(function(e){return{className:"item-type "+e.type}}).withConfig({componentId:"sc-1bhlt5q-0"})(["width:32px;display:inline-block;height:",";line-height:",";background-color:#333;border-radius:3px;background-repeat:no-repeat;background-position:6px 4px;font-size:7px;font-family:Verdana;color:white;text-transform:uppercase;text-align:center;font-weight:bold;vertical-align:middle;margin-right:6px;margin-top:2px;&.operation{background-color:",";}&.entry{background-color:",";}&.transaction{background-color:",";}&.empty{display:none;}&.empty + span{padding-left:12px;}"],function(e){return e.theme.typography.code.fontSize},function(e){return e.theme.typography.code.fontSize},function(e){return e.theme.colors.itemType.operation},function(e){return e.theme.colors.itemType.entry},function(e){return e.theme.colors.itemType.transaction}),Cs=Se.span.attrs(function(e){return{className:"operation-type "+e.type}}).withConfig({componentId:"sc-1bhlt5q-1"})(["width:32px;display:inline-block;height:",";line-height:",";background-color:#333;border-radius:3px;background-repeat:no-repeat;background-position:6px 4px;font-size:7px;font-family:Verdana;color:white;text-transform:uppercase;text-align:center;font-weight:bold;vertical-align:middle;margin-right:6px;margin-top:2px;&.get{background-color:",";}&.post{background-color:",";}&.put{background-color:",";}&.options{background-color:",";}&.patch{background-color:",";}&.delete{background-color:",";}&.basic{background-color:",";}&.link{background-color:",";}&.head{background-color:",";}"],function(e){return e.theme.typography.code.fontSize},function(e){return e.theme.typography.code.fontSize},function(e){return e.theme.colors.http.get},function(e){return e.theme.colors.http.post},function(e){return e.theme.colors.http.put},function(e){return e.theme.colors.http.options},function(e){return e.theme.colors.http.patch},function(e){return e.theme.colors.http.delete},function(e){return e.theme.colors.http.basic},function(e){return e.theme.colors.http.link},function(e){return e.theme.colors.http.head});function Ts(e,t){var n=t.theme;return e>1?Y(.1,n.menu.backgroundColor):1===e?Y(.05,n.menu.backgroundColor):""}var js,As=Se.ul.withConfig({componentId:"sc-1bhlt5q-2"})(["margin:0;padding:0;& &{font-size:0.929em;}",";"],function(e){return e.expanded?"":"display: none;"}),Is=Se.li.withConfig({componentId:"sc-1bhlt5q-3"})(["list-style:none inside none;overflow:hidden;text-overflow:ellipsis;padding:0;",";"],function(e){return 0===e.depth?"margin-top: 15px":""}),Ps={0:be(["opacity:0.7;letter-spacing:0.05em;text-transform:",";font-size:0.7em;padding-bottom:0;cursor:default;color:",";"],function(e){return e.theme.menu.groupItems.textTransform},function(e){return e.theme.menu.groupLabelColor}),1:be(["font-size:0.929em;text-transform:",";&:hover{color:",";}"],function(e){return e.theme.menu.level1Items.textTransform},function(e){return e.theme.colors.primary.main}),2:be(["color:",";"],function(e){return e.theme.menu.textColor})},Rs=Se.label.attrs(function(e){return{role:"menuitem",className:Vn("-depth"+e.depth,{active:e.active})}}).withConfig({componentId:"sc-1bhlt5q-4"})(["cursor:pointer;color:",";font-weight:600;margin:0;padding:12.5px ","px;"," display:flex;justify-content:space-between;font-family:",";",";background-color:",";",";&:hover{background-color:",";}","{height:",";width:",";polygon{fill:",";}}"],function(e){return e.active?e.theme.colors.primary.main:e.theme.menu.textColor},function(e){return 4*e.theme.spacing.unit},function(e){var t=e.depth,n=e.type,r=e.theme;return"section"===n&&t>1&&"padding-left: "+8*r.spacing.unit+"px;"||""},function(e){return e.theme.typography.headings.fontFamily},function(e){return Ps[e.depth]},function(e){return e.active?Ts(e.depth,e):""},function(e){return e.deprecated&&kn||""},function(e){return Ts(e.depth,e)},wn,function(e){return e.theme.menu.arrow.size},function(e){return e.theme.menu.arrow.size},function(e){return e.theme.menu.arrow.color}),Ns=Se.span.withConfig({componentId:"sc-1bhlt5q-5"})(["display:inline-block;vertical-align:middle;width:",";overflow:hidden;text-overflow:ellipsis;"],function(e){return e.width?e.width:"auto"}),Ls=Se.div.withConfig({componentId:"sc-1bhlt5q-6"})(["",";"],function(e){var t=e.theme;return"\n font-size: 0.8em;\n margin-top: "+2*t.spacing.unit+"px;\n padding: 0 "+4*t.spacing.unit+"px;\n text-align: left;\n\n opacity: 0.7;\n\n a,\n a:visited,\n a:hover {\n color: "+t.menu.textColor+" !important;\n border-top: 1px solid "+Y(.1,t.menu.backgroundColor)+";\n padding: "+t.spacing.unit+"px 0;\n display: block;\n }\n"}),Ms=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.activate=function(e){t.props.onActivate(t.props.item),e.stopPropagation()},t.saveRef=function(e){t.ref=e},t}return i(t,e),t.prototype.componentDidMount=function(){this.scrollIntoViewIfActive()},t.prototype.componentDidUpdate=function(){this.scrollIntoViewIfActive()},t.prototype.scrollIntoViewIfActive=function(){this.props.item.active&&this.ref&&this.ref.scrollIntoViewIfNeeded()},t.prototype.render=function(){var e=this,t=this.props,n=t.item,r=t.withoutChildren;return p.createElement(Is,{onClick:this.activate,depth:n.depth,ref:this.saveRef,"data-item-id":n.id},function(){switch(n.type){case"operation":return p.createElement(Ds,a({},e.props,{item:n}));default:return p.createElement(Rs,{depth:n.depth,active:n.active,type:n.type},p.createElement(Ns,{title:n.name},n.name,e.props.children),n.depth>0&&n.items.length>0&&p.createElement(wn,{float:"right",direction:n.expanded?"down":"right"})||null)}}(),!r&&n.items&&n.items.length>0&&p.createElement(Fs,{expanded:n.expanded,items:n.items,onActivate:this.props.onActivate}))},t=s([hi],t)}(p.Component),Ds=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props.item;return p.createElement(Rs,{depth:e.depth,active:e.active,deprecated:e.deprecated},p.createElement(Pe.Consumer,null,function(t){return t.itemTypesInsteadOfOperations?p.createElement(Os,{type:rt(e.itemType)},rt(e.itemType)):p.createElement(Cs,{type:e.httpVerb},{delete:"del",options:"opts"}[n=e.httpVerb]||n);var n}),p.createElement(Ns,{width:"calc(100% - 38px)"},e.name,this.props.children))},t=s([hi],t)}(p.Component),Fs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.items,r=t.root,o=t.className,i=null==this.props.expanded||this.props.expanded;return p.createElement(As,a({className:o,style:this.props.style,expanded:i},r?{role:"navigation"}:{}),n.map(function(t,n){return p.createElement(Ms,{key:n,item:t,onActivate:e.props.onActivate})}))},t=s([hi],t)}(p.Component),Us=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.activate=function(e){t.props.menu.activateAndScroll(e,!0),setTimeout(function(){t._updateScroll&&t._updateScroll()})},t.saveScrollUpdate=function(e){t._updateScroll=e},t}return i(t,e),t.prototype.render=function(){var e=this.props.menu;return p.createElement(Wr,{updateFn:this.saveScrollUpdate,className:this.props.className,options:{wheelPropagation:!1}},p.createElement(Fs,{items:e.items,onActivate:this.activate,root:!0}),p.createElement(Ls,null,p.createElement("a",{target:"_blank",href:"https://github.com/Rebilly/ReDoc"},"Documentation Powered by ReDoc")))},t=s([hi],t)}(p.Component),Bs=function(e){var t=e.open?8:-4;return p.createElement($s,null,p.createElement(zs,{size:15,style:{transform:"translate(2px, "+t+"px) rotate(180deg)",transition:"transform 0.2s ease"}}),p.createElement(zs,{size:15,style:{transform:"translate(2px, "+(0-t)+"px)",transition:"transform 0.2s ease"}}))},zs=function(e){var t=e.size,n=void 0===t?10:t,r=e.className,o=void 0===r?"":r,i=e.style;return p.createElement("svg",{className:o,style:i||{},viewBox:"0 0 926.23699 573.74994",version:"1.1",x:"0px",y:"0px",width:n,height:n},p.createElement("g",{transform:"translate(904.92214,-879.1482)"},p.createElement("path",{d:"\n m -673.67664,1221.6502 -231.2455,-231.24803 55.6165,\n -55.627 c 30.5891,-30.59485 56.1806,-55.627 56.8701,-55.627 0.6894,\n 0 79.8637,78.60862 175.9427,174.68583 l 174.6892,174.6858 174.6892,\n -174.6858 c 96.079,-96.07721 175.253196,-174.68583 175.942696,\n -174.68583 0.6895,0 26.281,25.03215 56.8701,\n 55.627 l 55.6165,55.627 -231.245496,231.24803 c -127.185,127.1864\n -231.5279,231.248 -231.873,231.248 -0.3451,0 -104.688,\n -104.0616 -231.873,-231.248 z\n ",fill:"currentColor"})))},$s=Se.div.withConfig({componentId:"t31uh6-0"})(["user-select:none;width:20px;height:20px;align-self:center;display:flex;flex-direction:column;color:",";"],function(e){return e.theme.colors.primary.main});re&&(js=n(269));var qs,Ws,Hs,Ys,Vs=js&&js(),Qs=Se.div.withConfig({componentId:"sc-16sq59-0"})(["width:",";background-color:",";overflow:hidden;display:flex;flex-direction:column;backface-visibility:hidden;contain:strict;height:100vh;position:sticky;position:-webkit-sticky;top:0;",";@media print{display:none;}"],function(e){return e.theme.menu.width},function(e){return e.theme.menu.backgroundColor},Ee("small")(qs||(qs=u(["\n position: fixed;\n z-index: 20;\n width: 100%;\n background: #ffffff;\n display: ",";\n "],["\n position: fixed;\n z-index: 20;\n width: 100%;\n background: #ffffff;\n display: ",";\n "])),function(e){return e.open?"flex":"none"})),Gs=Se.div.withConfig({componentId:"sc-16sq59-1"})(["outline:none;user-select:none;background-color:#f2f2f2;color:",";display:none;cursor:pointer;position:fixed;right:20px;z-index:100;border-radius:50%;box-shadow:0 0 20px rgba(0,0,0,0.3);",";bottom:44px;width:60px;height:60px;padding:0 20px;@media print{display:none;}"],function(e){return e.theme.colors.primary.main},Ee("small")(Ws||(Ws=u(["\n display: flex;\n "],["\n display: flex;\n "])))),Xs=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.toggleNavMenu=function(){t.props.menu.toggleSidebar()},t}return i(t,e),t.prototype.componentDidMount=function(){Vs&&Vs.add(this.stickyElement)},t.prototype.componentWillUnmount=function(){Vs&&Vs.remove(this.stickyElement)},t.prototype.getScrollYOffset=function(e){return(void 0!==this.props.scrollYOffset?ge.normalizeScrollYOffset(this.props.scrollYOffset)():e.scrollYOffset())+"px"},t.prototype.render=function(){var e=this,t=this.props.menu.sideBarOpened;return p.createElement(Pe.Consumer,null,function(n){return p.createElement(p.Fragment,null,p.createElement(Qs,{open:t,className:e.props.className,style:function(t){var n=e.getScrollYOffset(t);return{top:n,height:"calc(100vh - "+n+")"}}(n),ref:function(t){e.stickyElement=t}},e.props.children),p.createElement(Gs,{onClick:e.toggleNavMenu},p.createElement(Bs,{open:t})))})},t=s([hi],t)}(p.Component),Ks=Se.div.withConfig({componentId:"szuo1f-0"})(["",";"],function(e){var t=e.theme;return"\n font-family: "+t.typography.fontFamily+";\n font-size: "+t.typography.fontSize+";\n font-weight: "+t.typography.fontWeightRegular+";\n line-height: "+t.typography.lineHeight+";\n color: "+t.colors.text.primary+";\n display: flex;\n position: relative;\n text-align: left;\n\n -webkit-font-smoothing: "+t.typography.smoothing+";\n font-smoothing: "+t.typography.smoothing+";\n "+(t.typography.optimizeSpeed?"text-rendering: optimizeSpeed !important":"")+";\n\n tap-highlight-color: rgba(0, 0, 0, 0);\n text-size-adjust: 100%;\n\n * {\n box-sizing: border-box;\n -webkit-tap-highlight-color: rgba(255, 255, 255, 0);\n }\n"}),Js=Se.div.withConfig({componentId:"szuo1f-1"})(["z-index:1;position:relative;overflow:hidden;width:calc(100% - ",");",";contain:layout;"],function(e){return e.theme.menu.width},Ee("small",!0)(Hs||(Hs=u(["\n width: 100%;\n "],["\n width: 100%;\n "])))),Zs=Se.div.withConfig({componentId:"szuo1f-2"})(["background:",";position:absolute;top:0;bottom:0;right:0;width:",";",";",""],function(e){return e.theme.rightPanel.backgroundColor},function(e){var t=e.theme;if(t.rightPanel.width.endsWith("%")){var n=parseInt(t.rightPanel.width,10);return"calc((100% - "+t.menu.width+") * "+n/100+")"}return t.rightPanel.width},Ee("medium",!0)(Ys||(Ys=u(["\n display: none;\n "],["\n display: none;\n "]))),function(e){return e.theme.rightPanel.isHidden?"display: none;":""}),el=Se.div.withConfig({componentId:"sc-7v6wcv-0"})(["padding:5px 0;"]),tl=Se.input.attrs(function(){return{className:"search-input"}}).withConfig({componentId:"sc-7v6wcv-1"})(["width:calc(100% - ","px);box-sizing:border-box;margin:0 ","px;padding:5px ","px 5px ","px;border:0;border-bottom:1px solid ",";font-family:",";font-weight:bold;font-size:13px;color:",";background-color:transparent;outline:none;"],function(e){return 8*e.theme.spacing.unit},function(e){return 4*e.theme.spacing.unit},function(e){return 2*e.theme.spacing.unit},function(e){return 4*e.theme.spacing.unit},function(e){var t=e.theme;return Y(.1,t.menu.backgroundColor)},function(e){return e.theme.typography.fontFamily},function(e){return e.theme.menu.textColor}),nl=Se(function(e){return p.createElement("svg",{className:e.className,version:"1.1",viewBox:"0 0 1000 1000",x:"0px",xmlns:"http://www.w3.org/2000/svg",y:"0px"},p.createElement("path",{d:"M968.2,849.4L667.3,549c83.9-136.5,66.7-317.4-51.7-435.6C477.1-25,252.5-25,113.9,113.4c-138.5,138.3-138.5,362.6,0,501C219.2,730.1,413.2,743,547.6,666.5l301.9,301.4c43.6,43.6,76.9,14.9,104.2-12.4C981,928.3,1011.8,893,968.2,849.4z M524.5,522c-88.9,88.7-233,88.7-321.8,0c-88.9-88.7-88.9-232.6,0-321.3c88.9-88.7,233-88.7,321.8,0C613.4,289.4,613.4,433.3,524.5,522z"}))}).attrs({className:"search-icon"}).withConfig({componentId:"sc-7v6wcv-2"})(["position:absolute;left:","px;height:1.8em;width:0.9em;path{fill:",";}"],function(e){return 4*e.theme.spacing.unit},function(e){return e.theme.menu.textColor}),rl=Se.div.withConfig({componentId:"sc-7v6wcv-3"})(["padding:","px 0;background-color:#ededed;min-height:150px;max-height:250px;border-top:1px solid #e1e1e1;border-bottom:1px solid #e1e1e1;margin-top:10px;line-height:1.4;font-size:0.9em;","{padding-top:6px;padding-bottom:6px;&:hover{background-color:#e1e1e1;}> svg{display:none;}&.active{background-color:#e1e1e1;}}"],function(e){return e.theme.spacing.unit},Rs),ol=Se.i.withConfig({componentId:"sc-7v6wcv-4"})(["position:absolute;display:inline-block;width:","px;text-align:center;right:","px;line-height:2em;vertical-align:middle;margin-right:2px;cursor:pointer;font-style:normal;color:'#666';"],function(e){return 2*e.theme.spacing.unit},function(e){return 4*e.theme.spacing.unit}),il=function(e){function t(t){var n=e.call(this,t)||this;return n.activeItemRef=null,n.clear=function(){n.setState({results:[],term:"",activeItemIdx:-1}),n.props.marker.unmark()},n.handleKeyDown=function(e){if(27===e.keyCode&&n.clear(),40===e.keyCode&&(n.setState({activeItemIdx:Math.min(n.state.activeItemIdx+1,n.state.results.length-1)}),e.preventDefault()),38===e.keyCode&&(n.setState({activeItemIdx:Math.max(0,n.state.activeItemIdx-1)}),e.preventDefault()),13===e.keyCode){var t=n.state.results[n.state.activeItemIdx];if(t){var r=n.props.getItemById(t.meta);r&&n.props.onActivate(r)}}},n.search=function(e){var t=e.target.value;t.length<3?n.clearResults(t):(n.setState({term:t}),n.props.search.search(e.target.value).then(function(e){n.setResults(e,t)}))},n.state={results:[],term:"",activeItemIdx:-1},n}return i(t,e),t.prototype.clearResults=function(e){this.setState({results:[],term:e}),this.props.marker.unmark()},t.prototype.setResults=function(e,t){this.setState({results:e,term:t}),this.props.marker.mark(t)},t.prototype.render=function(){var e=this,t=this.state.activeItemIdx,n=this.state.results.map(function(t){return{item:e.props.getItemById(t.meta),score:t.score}});return n.sort(function(e,t){return t.score-e.score}),p.createElement(el,{role:"search"},this.state.term&&p.createElement(ol,{onClick:this.clear},"×"),p.createElement(nl,null),p.createElement(tl,{value:this.state.term,onKeyDown:this.handleKeyDown,placeholder:"Search...",type:"text",onChange:this.search}),n.length>0&&p.createElement(Wr,{options:{wheelPropagation:!1}},p.createElement(rl,{"data-role":"search:results"},n.map(function(n,r){return p.createElement(Ms,{item:Object.create(n.item,{active:{value:r===t}}),onActivate:e.props.onActivate,withoutChildren:!0,key:n.item.id,"data-role":"search:result"})}))))},t}(p.PureComponent),al=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.componentDidMount=function(){this.props.store.onDidMount()},t.prototype.componentWillUnmount=function(){this.props.store.dispose()},t.prototype.render=function(){var e=this.props.store,t=e.spec,n=e.menu,r=e.options,o=e.search,i=e.marker,a=this.props.store;return p.createElement(ke,{theme:r.theme},p.createElement(pn,{value:this.props.store},p.createElement(Re,{value:r},p.createElement(Ks,{className:"redoc-wrap"},p.createElement(Xs,{menu:n,className:"menu-content"},p.createElement(Di,{info:t.info}),!r.disableSearch&&p.createElement(il,{search:o,marker:i,getItemById:n.getItemById,onActivate:n.activateAndScroll})||null,p.createElement(Us,{menu:n})),p.createElement(Js,{className:"api-content"},p.createElement(Ri,{store:a}),p.createElement(xs,{items:n.items})),p.createElement(Zs,null)))))},t.propTypes={store:h.instanceOf(ro).isRequired},t}(p.Component),sl=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.spec,n=e.specUrl,r=e.options,o=void 0===r?{}:r,i=e.onLoaded,a=void 0!==o.hideLoading,s=new ge(o);return p.createElement(Ce,null,p.createElement(dn,{spec:t,specUrl:n,options:o,onLoaded:i},function(e){var t=e.loading,n=e.store;return t?a?null:p.createElement(Ie,{color:s.theme.colors.primary.main}):p.createElement(al,{store:n})}))},t.propTypes={spec:function(e,t,n){return e.spec||e.specUrl?null:new Error("One of props 'spec' or 'specUrl' was not specified in '"+n+"'.")},specUrl:function(e,t,n){return e.spec||e.specUrl?null:new Error("One of props 'spec' or 'specUrl' was not specified in '"+n+"'.")},options:h.any,onLoaded:h.any},t}(p.PureComponent);n.d(t,"version",function(){return ll}),n.d(t,"revision",function(){return cl}),n.d(t,"init",function(){return ul}),n.d(t,"hydrate",function(){return pl}),n.d(t,"Redoc",function(){return al}),n.d(t,"AppStore",function(){return ro});var ll="2.1.3",cl="2873327";function ul(e,t,n,r){if(void 0===t&&(t={}),void 0===n&&(n=oe("redoc")),null===n)throw new Error('"element" argument is not provided and tag is not found on the page');var o,i;"string"==typeof e?o=e:"object"==typeof e&&(i=e),Object(d.render)(p.createElement(sl,{spec:i,onLoaded:r,specUrl:o,options:a({},t,function(e){var t=function(e){for(var t={},n=e.attributes,r=0;r >>>>>>> master <<<<<<< HEAD <<<<<<< HEAD

Horizon (3.0.1)

Download OpenAPI specification:Download

Horizon is the client-facing REST API module that consumes data from the core of the system and makes it more convenient to use the ======= " fill="currentColor">

Horizon (3.3.0)

Download OpenAPI specification:Download

Horizon is the client-facing REST API module that consumes data from the core of the system and makes it more convenient to use the >>>>>>> master ======= " fill="currentColor">

Horizon (3.3.0)

Download OpenAPI specification:Download

Horizon is the client-facing REST API module that consumes data from the core of the system and makes it more convenient to use the >>>>>>> master client facing application. It allows submitting transactions to the network, reading history of operations, and checking the state of entities.

IMPORTANT: Note that endpoints not specified in this document or marked as WIP do not guaranty the backwards compability maintenance.

Overview

Horizon uses JSON:API convention to format requests and responses. The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Security

TokenD uses the Ed25519 algorithm for authorizing any request or read private data. The use of such cryptographic proof allows building a system where transfer of secrets in an open form is not necessary, which significantly improves the security. Thus, an attacker who has access to one of the servers will not be able to compromise users' secrets.

Request signature implementation is based on IETF HTTP Signatures draft RFC. Implicit headers parameter is not supported; clients must explicitly specify headers used for signing.

The signature algorithm supported is ed25519-sha256, which uses public signer key as keyId.

Both Signature and Authorization HTTP authentication schemas are supported.

The minimum recommended data to sign is the (request-header) and date.

For the following request:

GET /users?type=2 HTTP/1.1
Host: api.tokend.io
Date: Fri, 05 Jan 2018 21:31:40 GMT

Signing string would be:

date: Fri, 05 Jan 2018 21:31:40 GMT
(request-target): get /users?type=2

Note that header names and HTTP method are lowercased.

The next step is to convert the signing string to a byte array using UTF-8 encoding and to take its SHA-256 hash.

For the signing string above, hash would be:

6fcbee4b0a8932784644d33b360bd3eef389ed37dfd66f17e4bfa910ba9d616a

Now, you have to sign hash with a private key and encode the result in Base64. For a seed such as SCDMOOXVNMO6SA22AYUMZDIGLDJMBUTVEGB73FFNTLFJILBJWIU4NQ3D, the encoded signature would be:

w/y3EsliTmQPC6MS88N/kjU/hFVxlIdhFhzfRGv4yIsSokgMpxVqxcC/CmUsAN4t3BKpskGG7+JEWryV8NXvCg==

The result HTTP header included to the request then would be:

Authorization: keyId="GBLTOG6EJS5OWDNQNSCEAVDNMPBY6F73XZHHKR27YE5AKE23ZZEXOLBK",algorithm="ed25519-sha256",signature="w/y3EsliTmQPC6MS88N/kjU/hFVxlIdhFhzfRGv4yIsSokgMpxVqxcC/CmUsAN4t3BKpskGG7+JEWryV8NXvCg==",headers="date (request-target)"
<<<<<<< HEAD <<<<<<< HEAD

Accounts

Defines access points for accounts and related entities

Account by ID

Allows getting Account with corresponding details.

path Parameters
id
required
string

Unique identifier of an account

query Parameters
include
string
Enum:"fees" "balances" "balances.asset" "balances.state" "referrer" "limits" "external_system_ids"
Example: "balances,balances.asset"

🔒 Following relationships require an owner's or admin's signature to be included:

=======

Accounts

Defines access points for accounts and related entities

Account by ID

Allows getting Account with corresponding details.

=======

Accounts

Defines access points for accounts and related entities

Account by ID

Allows getting Account with corresponding details.

>>>>>>> master

Note that if we include fees filter - we will receive all the fees applied to a particular account.

For example if someone's, say Bob, account has a several fees applied to itself:

  • first fee applied globally for all accounts for payments of amount from 0 to 100 BTC and is 1% from the payment
  • second fee applied exactly to Bob's account and is 2% of the payment of amounts from 100 to 200 BTC

then we will receive both of them in response because they are applied to Bob's account

<<<<<<< HEAD
path Parameters
id
required
string

Unique identifier of an account

query Parameters
include
string
Enum:"fees" "balances" "balances.asset" "balances.state" "referrer" "limits" "external_system_ids"
Example: "balances,balances.asset"

🔒 Following relationships require an owner's or admin's signature to be included:

>>>>>>> master =======
path Parameters
id
required
string

Unique identifier of an account

query Parameters
include
string
Enum:"fees" "balances" "balances.asset" "balances.state" "referrer" "limits" "external_system_ids"
Example: "balances,balances.asset"

🔒 Following relationships require an owner's or admin's signature to be included:

>>>>>>> master
  • balances.state
  • referrer
  • fees
  • role
  • role.rules
  • limits
  • external_system_ids
<<<<<<< HEAD <<<<<<< HEAD

Responses

200

account exists

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

such an account does not exist

get /v3/accounts/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/accounts/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Calculate fee

Allows calculating a fee for an account.

path Parameters
asset
required
string

Unique identifier of an asset

fee_type
required
integer

Type of fee

subtype
required
integer

Subtype of fee

amount
required
string

Amount to calculate on which fee is based on

Responses

200

fee does exist and is calculated successfuly

400

bad input parameter

500

internal error occured during the request processing

get /v3/accounts/{id}/calculated_fees

TokenD Developer Environment

https://api.achilles.tokend.io/v3/accounts/{id}/calculated_fees

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    }
}

Signers for Account

Allows getting Signers of the account with corresponding details.

path Parameters
id
required
string

Unique identifier of an account

query Parameters
include
string
Enum:"role" "role.rules"
Example: "role,role.rules"

For signers, following relationships can be included:

Responses

200

account exists

400

bad input parameter

404

such an account does not exist

get /v3/accounts/{id}/signers

TokenD Developer Environment

https://api.achilles.tokend.io/v3/accounts/{id}/signers

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Assets

Defines access points for assets

Asset List

Allows getting a filtered list of Asset with corresponding details.

query Parameters
filter[policy]
integer

Filters assets by a specified bit mask. Returns the page of assets where at least one bit intersects

filter[owner]
string

Filters assets by a specified owner's account address.

include
string
Value:"owner"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

asset exists

400

bad input parameter

404

asset does not exist

get /v3/assets

TokenD Developer Environment

https://api.achilles.tokend.io/v3/assets

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Asset by ID

Allows getting Asset with corresponding details.

path Parameters
id
required
string

Unique identifier of an asset (code)

query Parameters
include
string
Value:"owner"

Relationships that may be used for the included parameter.

Responses

200

asset exists

400

bad input parameter

404

asset does not exist

get /v3/assets/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/assets/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Asset Creation Request List

Allows getting a filtered list of CreateAssetRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======

Responses

200

account exists

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

such an account does not exist

get /v3/accounts/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/accounts/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Calculate fee

Allows calculating a fee for an account.

path Parameters
asset
required
string

Unique identifier of an asset

fee_type
required
integer

Type of fee

subtype
required
integer

Subtype of fee

amount
required
string

Amount to calculate on which fee is based on

Responses

200

fee does exist and is calculated successfuly

400

bad input parameter

500

internal error occured during the request processing

get /v3/accounts/{id}/calculated_fees

TokenD Developer Environment

https://api.achilles.tokend.io/v3/accounts/{id}/calculated_fees

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    }
}

Signers for Account

Allows getting Signers of the account with corresponding details.

path Parameters
id
required
string

Unique identifier of an account

query Parameters
include
string
Enum:"role" "role.rules"
Example: "role,role.rules"

For signers, following relationships can be included:

Responses

200

account exists

400

bad input parameter

404

such an account does not exist

get /v3/accounts/{id}/signers

TokenD Developer Environment

https://api.achilles.tokend.io/v3/accounts/{id}/signers

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Assets

Defines access points for assets

Asset by ID

Allows getting Asset with corresponding details.

path Parameters
id
required
string

Unique identifier of an asset (code)

query Parameters
include
string
Value:"owner"

Relationships that may be used for the included parameter.

Responses

200

asset exists

400

bad input parameter

404

asset does not exist

get /v3/assets/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/assets/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Asset List

Allows getting a filtered list of Asset with corresponding details.

query Parameters
filter[policy]
integer

Filters assets by a specified bit mask. Returns the page of assets where at least one bit intersects

filter[owner]
string

Filters assets by a specified owner's account address.

include
string
Value:"owner"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

asset exists

400

bad input parameter

404

asset does not exist

get /v3/assets

TokenD Developer Environment

https://api.achilles.tokend.io/v3/assets

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Asset Creation Request by ID

Allows getting CreateAssetRequest by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======

Responses

200

account exists

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

such an account does not exist

get /v3/accounts/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/accounts/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Calculate fee

Allows calculating a fee for an account.

path Parameters
asset
required
string

Unique identifier of an asset

fee_type
required
integer

Type of fee

subtype
required
integer

Subtype of fee

amount
required
string

Amount to calculate on which fee is based on

Responses

200

fee does exist and is calculated successfuly

400

bad input parameter

500

internal error occured during the request processing

get /v3/accounts/{id}/calculated_fees

TokenD Developer Environment

https://api.achilles.tokend.io/v3/accounts/{id}/calculated_fees

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    }
}

Signers for Account

Allows getting Signers of the account with corresponding details.

path Parameters
id
required
string

Unique identifier of an account

query Parameters
include
string
Enum:"role" "role.rules"
Example: "role,role.rules"

For signers, following relationships can be included:

Responses

200

account exists

400

bad input parameter

404

such an account does not exist

get /v3/accounts/{id}/signers

TokenD Developer Environment

https://api.achilles.tokend.io/v3/accounts/{id}/signers

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Assets

Defines access points for assets

Asset List

Allows getting a filtered list of Asset with corresponding details.

query Parameters
filter[policy]
integer

Filters assets by a specified bit mask. Returns the page of assets where at least one bit intersects

filter[owner]
string

Filters assets by a specified owner's account address.

include
string
Value:"owner"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

asset exists

400

bad input parameter

404

asset does not exist

get /v3/assets

TokenD Developer Environment

https://api.achilles.tokend.io/v3/assets

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Asset by ID

Allows getting Asset with corresponding details.

path Parameters
id
required
string

Unique identifier of an asset (code)

query Parameters
include
string
Value:"owner"

Relationships that may be used for the included parameter.

Responses

200

asset exists

400

bad input parameter

404

asset does not exist

get /v3/assets/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/assets/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Asset Creation Request List

Allows getting a filtered list of CreateAssetRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.asset]
string

Filters asset create requests by asset code.

include
string
Enum:"request_details" "request_details.asset"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_asset_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_asset_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Asset Creation Request by ID

Allows getting CreateAssetRequest by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.asset]
string

Filters asset create requests by asset code.

include
string
Enum:"request_details" "request_details.asset"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_asset_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_asset_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Asset Creation Request List

Allows getting a filtered list of CreateAssetRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.asset]
string

Filters asset create requests by asset code.

include
string
Enum:"request_details" "request_details.asset"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_asset_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_asset_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Asset Creation Request by ID

Allows getting CreateAssetRequest by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.asset]
string

Filters asset create requests by asset code.

include
string
Enum:"request_details" "request_details.asset"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_asset_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_asset_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Update Asset Request List

Allows getting a filtered list of UpdateAssetRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.asset]
string

Filters asset create requests by asset code.

include
string
Enum:"request_details" "request_details.asset"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_asset_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_asset_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Update Asset Request by ID

Allows getting UpdateAssetRequest by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.asset]
string

Filters asset create requests by asset code.

include
string
Enum:"request_details" "request_details.asset"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_asset_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_asset_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Update Asset Request List

Allows getting a filtered list of UpdateAssetRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.asset]
string

Filters asset update requests by asset code.

include
string
Enum:"request_details" "request_details.asset"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/asset_update_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/asset_update_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Update Asset Request by ID

Allows getting UpdateAssetRequest by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.asset]
string

Filters update asset requests by asset code.

include
string
Enum:"request_details" "request_details.asset"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/update_asset_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/update_asset_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Update Asset Request List

Allows getting a filtered list of UpdateAssetRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.asset]
string

Filters asset update requests by asset code.

include
string
Enum:"request_details" "request_details.asset"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/asset_update_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/asset_update_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Update Asset Request by ID

Allows getting UpdateAssetRequest by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.asset]
string

Filters update asset requests by asset code.

include
string
Enum:"request_details" "request_details.asset"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/update_asset_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/update_asset_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Balances

Balance List

Allows getting list of balances with corresponding details.

🔒 Admins signature is needed. If filter by asset is provided, the signature of asset's owner is also valid

query Parameters
filter[asset]
string

Filters balances by asset. Returns page of balances for the provided asset

include
string
Value:"state"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

Request is successfull

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

get /v3/balances

TokenD Developer Environment

https://api.achilles.tokend.io/v3/balances

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included": [ ],
  • "links":
    {
    }
}

Fees

Defines access points for fees

Calculate fee

Allows calculating a fee for an account.

path Parameters
asset
required
string

Unique identifier of an asset

fee_type
required
integer

Type of fee

subtype
required
integer

Subtype of fee

amount
required
string

Amount to calculate on which fee is based on

Responses

200

fee does exist and is calculated successfuly

400

bad input parameter

500

internal error occured during the request processing

get /v3/accounts/{id}/calculated_fees

TokenD Developer Environment

https://api.achilles.tokend.io/v3/accounts/{id}/calculated_fees

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    }
}

Fee List

Allows getting a filtered list of Fee with corresponding details.

query Parameters
filter[asset]
string

Filters fees by asset. Returns page of fees for the provided asset

filter[fee_type]
integer

Filters fees by type.

filter[subtype]
integer

Filters fees by subtype.

filter[account]
string

Filters fees by account address.

filter[account_role]
integer

Filters fees by account role.

filter[lower_bound]
integer

Filters fees by lower_bound.

filter[upper_bound]
integer

Filters fees by upper_bound.

include
string
Value:"asset"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

fees exist

400

bad input parameter

404

fees do not exist

get /v3/fees

TokenD Developer Environment

https://api.achilles.tokend.io/v3/fees

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

AMLAlert

Defines access points to AMLAlert Reviewable Requests

AMLAlert List

Allows getting a filtered list of CreateAmlAlertRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.asset]
string

Filters asset update requests by asset code.

include
string
Enum:"request_details" "request_details.asset"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/asset_update_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/asset_update_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Balances

Balance by ID

Allows getting Balance with corresponding details.

path Parameters
id
required
string

Unique identifier of a balance

query Parameters
include
string
Enum:"asset" "state"
Example: "asset"

🔒 Following relationships require an owner's or admin's signature to be included:

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.asset]
string

Filters update asset requests by asset code.

include
string
Enum:"request_details" "request_details.asset"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/update_asset_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/update_asset_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Balances

Balance List

Allows getting list of balances with corresponding details.

🔒 Admins signature is needed. If filter by asset is provided, the signature of asset's owner is also valid

query Parameters
filter[asset]
string

Filters balances by asset. Returns page of balances for the provided asset

include
string
Value:"state"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

Request is successfull

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

get /v3/balances

TokenD Developer Environment

https://api.achilles.tokend.io/v3/balances

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included": [ ],
  • "links":
    {
    }
}

Balance by ID

Allows getting Balance with corresponding details.

path Parameters
id
required
string

Unique identifier of a balance

query Parameters
include
string
Enum:"asset" "state"
Example: "asset"

🔒 Following relationships require an owner's or admin's signature to be included:

>>>>>>> master
  • state

Responses

200

balance exists

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

such a balance does not exist

get /v3/balances/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/balances/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Converted Balances

Allows getting list of balances converted to provided asset.

🔒 Either account or admin signature is needed.

path Parameters
account_id
required
string

ID of the account

asset_code
required
string

ID of the collection (asset to convert balances to)

query Parameters
include
string
Enum:"states" "balance" "balance.state" "balance.asset"
Example: "states"

Relationships that may be used for the include parameter.

Responses

200

balances collection exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

either account or asset to convert states doesn't exist

get /v3/accounts/{account_address}/converted_balances/{asset_code}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/accounts/{account_address}/converted_balances/{asset_code}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Fees

Defines access points for fees

Calculate fee

Allows calculating a fee for an account.

path Parameters
asset
required
string

Unique identifier of an asset

fee_type
required
integer

Type of fee

subtype
required
integer

Subtype of fee

amount
required
string

Amount to calculate on which fee is based on

Responses

200

fee does exist and is calculated successfuly

400

bad input parameter

500

internal error occured during the request processing

get /v3/accounts/{id}/calculated_fees

TokenD Developer Environment

https://api.achilles.tokend.io/v3/accounts/{id}/calculated_fees

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    }
}

Fee List

Allows getting a filtered list of Fee with corresponding details.

query Parameters
filter[asset]
string

Filters fees by asset. Returns page of fees for the provided asset

filter[fee_type]
integer

Filters fees by type.

filter[subtype]
integer

Filters fees by subtype.

filter[account]
string

Filters fees by account address. Returns only fees which explicitly contains this account in relationships. This means that if the fee was applied exactly for this account - it would be returned in the response. Global fees, fees for account roles and other system-wide fees would be omitted.

For example if someone's, say Bob, account has a several fees applied to itself:

  • first fee applied globally for all accounts for payments from 0 to 100 BTC and is 1% from the payment
  • second fee applied exactly to Bob's account and is 2% of the payment for amounts from 100 to 200 BTC

then we will receive only the second fee in response only it is applied to Bob's account

filter[account_role]
integer

Filters fees by account role.

filter[lower_bound]
integer

Filters fees by lower_bound.

filter[upper_bound]
integer

Filters fees by upper_bound.

include
string
Value:"asset"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

fees exist

400

bad input parameter

404

fees do not exist

get /v3/fees

TokenD Developer Environment

https://api.achilles.tokend.io/v3/fees

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

AMLAlert

Defines access points to AMLAlert Reviewable Requests

AMLAlert List

Allows getting a filtered list of CreateAmlAlertRequest with details

🔒 Requestor's or reviewer's signature is needed

<<<<<<< HEAD
query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.balance]
string

Filters create aml alert requests by balance.

include
string
Enum:"request_details" "request_details.balance"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_aml_alert_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_aml_alert_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

AMLAlert by ID

Allows getting CreateAmlAlert by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.balance]
string

Filters create aml alert requests by balance.

include
string
Enum:"request_details" "request_details.balance"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_aml_alert_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_aml_alert_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

AMLAlert List

Allows getting a filtered list of CreateAmlAlertRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.balance]
string

Filters create aml alert requests by balance.

include
string
Enum:"request_details" "request_details.balance"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_aml_alert_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_aml_alert_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

AMLAlert by ID

Allows getting CreateAmlAlert by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.balance]
string

Filters create aml alert requests by balance.

include
string
Enum:"request_details" "request_details.balance"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_aml_alert_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_aml_alert_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Issuance

Defines access points to get Issuance Reviewable Requests

Issuance Request List

Allows getting a filtered list of CreateIssuanceRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.balance]
string

Filters create aml alert requests by balance.

include
string
Enum:"request_details" "request_details.balance"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_aml_alert_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_aml_alert_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Issuance

Defines access points to get Issuance Reviewable Requests

Issuance Request by ID

Allows getting CreateIssuance by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.balance]
string

Filters create aml alert requests by balance.

include
string
Enum:"request_details" "request_details.balance"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_aml_alert_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_aml_alert_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Issuance

Defines access points to get Issuance Reviewable Requests

Issuance Request List

Allows getting a filtered list of CreateIssuanceRequest with details

🔒 Requestor's, reviewer's or receiving balance owner signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.asset]
string

Filters issuance create requests by asset code.

include
string
Enum:"request_details" "request_details.asset"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_issuance_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_issuance_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Issuance Request by ID

Allows getting CreateIssuance by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.asset]
string

Filters preissuance create requests by asset code.

include
string
Enum:"request_details" "request_details.asset"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_issuance_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_issuance_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Issuance Request List

Allows getting a filtered list of CreateIssuanceRequest with details

🔒 Requestor's, reviewer's or receiving balance owner signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.asset]
string

Filters issuance create requests by asset code.

filter[request_details.receiver]
string

Filters requests by receiver balance

include
string
Enum:"request_details" "request_details.asset"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_issuance_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_issuance_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Issuance Request by ID

Allows getting CreateIssuance by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.asset]
string

Filters preissuance create requests by asset code.

include
string
Enum:"request_details" "request_details.asset"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_issuance_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_issuance_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Withdrawal

Defines access points to get Withdrawal Reviewable Requests

Withdrawal Request List

Allows getting a filtered list of CreateWithdrawRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.asset]
string

Filters issuance create requests by asset code.

filter[request_details.receiver]
string

Filters requests by receiver balance

include
string
Enum:"request_details" "request_details.asset"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_issuance_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_issuance_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Withdrawal

Defines access points to get Withdrawal Reviewable Requests

Withdrawal Request by ID

Allows getting CreateWithdraw by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.asset]
string

Filters preissuance create requests by asset code.

include
string
Enum:"request_details" "request_details.asset"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_issuance_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_issuance_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Withdrawal

Defines access points to get Withdrawal Reviewable Requests

Withdrawal Request List

Allows getting a filtered list of CreateWithdrawRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.balance]
string

Filters create_withdraw requests by balance.

include
string
Enum:"request_details" "request_details.balance"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_withdraw_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_withdraw_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Withdrawal Request by ID

Allows getting CreateWithdraw by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.balance]
string

Filters create_withdraw requests by balance.

include
string
Enum:"request_details" "request_details.balance"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_withdraw_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_withdraw_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Withdrawal Request List

Allows getting a filtered list of CreateWithdrawRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.balance]
string

Filters create_withdraw requests by balance.

include
string
Enum:"request_details" "request_details.balance"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_withdraw_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_withdraw_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Withdrawal Request by ID

Allows getting CreateWithdraw by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.balance]
string

Filters create_withdraw requests by balance.

include
string
Enum:"request_details" "request_details.balance"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_withdraw_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_withdraw_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Atomic Swap

Atomic Swap Bid List

Allows getting a filtered list of Atomic Swap Bid with corresponding details.

query Parameters
filter[base_asset]
integer

Filters atomic swap bids by a base asset.

filter[owner]
string

Filters atomic swap bids by a specified owner's account address.

filter[quote_assets]
Array of string

Filters atomic swap bids by quote assets. Returns the page of atomic swap bids where all quote assets present.

include
string
Enum:"base_balance" "owner" "base_asset" "quote_assets"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

atomic swap bid exists

400

bad input parameter

404

asset does not exist

get /v3/atomic_swap_bids

TokenD Developer Environment

https://api.achilles.tokend.io/v3/atomic_swap_bids

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Atomic Swap Bid by ID

Allows getting Atomic Swap Bid with corresponding details.

path Parameters
id
required
string

Unique identifier of an atomic swap bid (id)

query Parameters
include
string
Enum:"base_balance" "owner" "base_asset" "quote_assets"

Relationships that may be used for the included parameter.

Responses

200

atomic swap bid exists

400

bad input parameter

404

asset does not exist

get /v3/atomic_swap_bids/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/atomic_swap_bids/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Signers

Defines access points to get signers

Signers for Account

Allows getting Signers of the account with corresponding details.

path Parameters
id
required
string

Unique identifier of an account

query Parameters
include
string
Enum:"role" "role.rules"
Example: "role,role.rules"

For signers, following relationships can be included:

Responses

200

account exists

400

bad input parameter

404

such an account does not exist

get /v3/accounts/{id}/signers

TokenD Developer Environment

https://api.achilles.tokend.io/v3/accounts/{id}/signers

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Signer Roles

Signer Role List

Allows getting a list of Signer Role with corresponding details.

query Parameters
include
string
Value:"rules"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

succesfully retrieved page

400

bad input parameter

get /v3/signer_roles

TokenD Developer Environment

https://api.achilles.tokend.io/v3/signer_roles

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Signer Role by ID

Allows getting Signer Role with corresponding details.

path Parameters
id
required
string

Unique identifier of the signer role

query Parameters
include
string
Value:"rules"

Relationships that may be used for the included parameter.

Responses

200

signer role exists

400

bad input parameter

404

signer role does not exist

get /v3/signer_roles/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/signer_roles/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Signer Rules

Signer Rule List

Allows getting a list of Signer Rule with corresponding details.

query Parameters
page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

succesfully retrieved page

400

bad input parameter

get /v3/signer_rules

TokenD Developer Environment

https://api.achilles.tokend.io/v3/signer_rules

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "links":
    {
    }
}

Signer Rule by ID

Allows getting Signer Rule with corresponding details.

path Parameters
id
required
string

Unique identifier of the signer rule

Responses

200

signer rule exists

400

bad input parameter

404

signer rule does not exist

get /v3/signer_rules/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/signer_rules/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    }
}

Account Roles

Defines access points to get account role

Account Role List

Allows getting a list of Account Role with corresponding details.

query Parameters
include
string
Value:"rules"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

succesfully retrieved page

400

bad input parameter

get /v3/account_roles

TokenD Developer Environment

https://api.achilles.tokend.io/v3/account_roles

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ]
}

Account Role by ID

Allows getting Account Role with corresponding details.

path Parameters
id
required
string

Unique identifier of an account role

query Parameters
include
string
Value:"rules"

Relationships that may be used for the included parameter.

Responses

200

account role exists

400

bad input parameter

404

account role does not exist

get /v3/account_roles/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/account_roles/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Account Rules

Account Rule List

Allows getting a list of Account Rule with corresponding details.

query Parameters
page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

succesfully retrieved page

400

bad input parameter

get /v3/account_rules

TokenD Developer Environment

https://api.achilles.tokend.io/v3/account_rules

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "links":
    {
    }
}

Account Rule by ID

Allows getting Account Rule with corresponding details.

path Parameters
id
required
string

Unique identifier of an account rule

Responses

200

account rule exists

400

bad input parameter

404

account rule does not exist

get /v3/account_rules/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/account_rules/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    }
}

Change Account Role Request

Change Account Role Request List

Allows getting a filtered list of ChangeRoleRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.balance]
string

Filters create_withdraw requests by balance.

include
string
Enum:"request_details" "request_details.balance"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_withdraw_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_withdraw_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Signers

Defines access points to get signers

Signers for Account

Allows getting Signers of the account with corresponding details.

path Parameters
id
required
string

Unique identifier of an account

query Parameters
include
string
Enum:"role" "role.rules"
Example: "role,role.rules"

For signers, following relationships can be included:

Responses

200

account exists

400

bad input parameter

404

such an account does not exist

get /v3/accounts/{id}/signers

TokenD Developer Environment

https://api.achilles.tokend.io/v3/accounts/{id}/signers

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Signer Roles

Signer Role by ID

Allows getting Signer Role with corresponding details.

path Parameters
id
required
string

Unique identifier of the signer role

query Parameters
include
string
Value:"rules"

Relationships that may be used for the included parameter.

Responses

200

signer role exists

400

bad input parameter

404

signer role does not exist

get /v3/signer_roles/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/signer_roles/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Signer Role List

Allows getting a list of Signer Role with corresponding details.

query Parameters
include
string
Value:"rules"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

succesfully retrieved page

400

bad input parameter

get /v3/signer_roles

TokenD Developer Environment

https://api.achilles.tokend.io/v3/signer_roles

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Signer Rules

Signer Rule by ID

Allows getting Signer Rule with corresponding details.

path Parameters
id
required
string

Unique identifier of the signer rule

Responses

200

signer rule exists

400

bad input parameter

404

signer rule does not exist

get /v3/signer_rules/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/signer_rules/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    }
}

Signer Rule List

Allows getting a list of Signer Rule with corresponding details.

query Parameters
page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

succesfully retrieved page

400

bad input parameter

get /v3/signer_rules

TokenD Developer Environment

https://api.achilles.tokend.io/v3/signer_rules

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "links":
    {
    }
}

Account Roles

Defines access points to get account role

Account Role by ID

Allows getting Account Role with corresponding details.

path Parameters
id
required
string

Unique identifier of an account role

query Parameters
include
string
Value:"rules"

Relationships that may be used for the included parameter.

Responses

200

account role exists

400

bad input parameter

404

account role does not exist

get /v3/account_roles/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/account_roles/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Account Role List

Allows getting a list of Account Role with corresponding details.

query Parameters
include
string
Value:"rules"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

succesfully retrieved page

400

bad input parameter

get /v3/account_roles

TokenD Developer Environment

https://api.achilles.tokend.io/v3/account_roles

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ]
}

Account Rules

Account Rule by ID

Allows getting Account Rule with corresponding details.

path Parameters
id
required
string

Unique identifier of an account rule

Responses

200

account rule exists

400

bad input parameter

404

account rule does not exist

get /v3/account_rules/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/account_rules/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    }
}

Account Rule List

Allows getting a list of Account Rule with corresponding details.

query Parameters
page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

succesfully retrieved page

400

bad input parameter

get /v3/account_rules

TokenD Developer Environment

https://api.achilles.tokend.io/v3/account_rules

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "links":
    {
    }
}

Change Account Role Request

Change Account Role Request by ID

Allows to get ChangeRole by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by the requestor - source of the operation.

filter[reviewer]
string

Filters requests by the reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.balance]
string

Filters create_withdraw requests by balance.

include
string
Enum:"request_details" "request_details.balance"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_withdraw_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_withdraw_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Signers

Defines access points to get signers

Signers for Account

Allows getting Signers of the account with corresponding details.

path Parameters
id
required
string

Unique identifier of an account

query Parameters
include
string
Enum:"role" "role.rules"
Example: "role,role.rules"

For signers, following relationships can be included:

Responses

200

account exists

400

bad input parameter

404

such an account does not exist

get /v3/accounts/{id}/signers

TokenD Developer Environment

https://api.achilles.tokend.io/v3/accounts/{id}/signers

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Signer Roles

Signer Role List

Allows getting a list of Signer Role with corresponding details.

query Parameters
include
string
Value:"rules"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

succesfully retrieved page

400

bad input parameter

get /v3/signer_roles

TokenD Developer Environment

https://api.achilles.tokend.io/v3/signer_roles

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Signer Role by ID

Allows getting Signer Role with corresponding details.

path Parameters
id
required
string

Unique identifier of the signer role

query Parameters
include
string
Value:"rules"

Relationships that may be used for the included parameter.

Responses

200

signer role exists

400

bad input parameter

404

signer role does not exist

get /v3/signer_roles/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/signer_roles/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Signer Rules

Signer Rule List

Allows getting a list of Signer Rule with corresponding details.

query Parameters
page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

succesfully retrieved page

400

bad input parameter

get /v3/signer_rules

TokenD Developer Environment

https://api.achilles.tokend.io/v3/signer_rules

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "links":
    {
    }
}

Signer Rule by ID

Allows getting Signer Rule with corresponding details.

path Parameters
id
required
string

Unique identifier of the signer rule

Responses

200

signer rule exists

400

bad input parameter

404

signer rule does not exist

get /v3/signer_rules/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/signer_rules/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    }
}

Account Roles

Defines access points to get account role

Account Role List

Allows getting a list of Account Role with corresponding details.

query Parameters
include
string
Value:"rules"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

succesfully retrieved page

400

bad input parameter

get /v3/account_roles

TokenD Developer Environment

https://api.achilles.tokend.io/v3/account_roles

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ]
}

Account Role by ID

Allows getting Account Role with corresponding details.

path Parameters
id
required
string

Unique identifier of an account role

query Parameters
include
string
Value:"rules"

Relationships that may be used for the included parameter.

Responses

200

account role exists

400

bad input parameter

404

account role does not exist

get /v3/account_roles/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/account_roles/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Account Rules

Account Rule List

Allows getting a list of Account Rule with corresponding details.

query Parameters
page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

succesfully retrieved page

400

bad input parameter

get /v3/account_rules

TokenD Developer Environment

https://api.achilles.tokend.io/v3/account_rules

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "links":
    {
    }
}

Account Rule by ID

Allows getting Account Rule with corresponding details.

path Parameters
id
required
string

Unique identifier of an account rule

Responses

200

account rule exists

400

bad input parameter

404

account rule does not exist

get /v3/account_rules/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/account_rules/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    }
}

Change Account Role Request

Change Account Role Request List

Allows getting a filtered list of ChangeRoleRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.account_to_change_role]
string

Filters change_role requests by account to change role.

filter[request_details.account_role_to_set]
string

Filters change_role requests by account_role_to_set.

include
string
Enum:"request_details" "request_details.destination_account"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/change_role_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/change_role_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Change Account Role Request by ID

Allows to get ChangeRole by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by the requestor - source of the operation.

filter[reviewer]
string

Filters requests by the reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.destination_account]
string

Filters change role requests by destination account.

filter[request_details.account_role_to_set]
string

Filters change role requests by account_role_to_set.

include
string
Enum:"request_details" "request_details.destination_account"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/change_role_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/change_role_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Change Account Role Request List

Allows getting a filtered list of ChangeRoleRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.destination_account]
string

Filters change_role requests by account to change role.

filter[request_details.account_role_to_set]
string

Filters change_role requests by account_role_to_set.

include
string
Enum:"request_details" "request_details.destination_account"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/change_role_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/change_role_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Change Account Role Request by ID

Allows to get ChangeRole by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by the requestor - source of the operation.

filter[reviewer]
string

Filters requests by the reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.destination_account]
string

Filters change role requests by destination account.

filter[request_details.account_role_to_set]
string

Filters change role requests by account_role_to_set.

include
string
Enum:"request_details" "request_details.destination_account"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/change_role_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/change_role_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

AMLAlert

Defines access points to AMLAlert Reviewable Requests

AMLAlert List

Allows getting a filtered list of CreateAmlAlertRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.destination_account]
string

Filters change_role requests by account to change role.

filter[request_details.account_role_to_set]
string

Filters change_role requests by account_role_to_set.

include
string
Enum:"request_details" "request_details.destination_account"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/change_role_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/change_role_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

AMLAlert

Defines access points to AMLAlert Reviewable Requests

AMLAlert by ID

Allows getting CreateAmlAlert by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.destination_account]
string

Filters change role requests by destination account.

filter[request_details.account_role_to_set]
string

Filters change role requests by account_role_to_set.

include
string
Enum:"request_details" "request_details.destination_account"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/change_role_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/change_role_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

AMLAlert

Defines access points to AMLAlert Reviewable Requests

AMLAlert List

Allows getting a filtered list of CreateAmlAlertRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.balance]
string

Filters create aml alert requests by balance.

include
string
Enum:"request_details" "request_details.balance"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_aml_alert_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_aml_alert_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

AMLAlert by ID

Allows getting CreateAmlAlert by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.balance]
string

Filters create aml alert requests by balance.

include
string
Enum:"request_details" "request_details.balance"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_aml_alert_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_aml_alert_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

AMLAlert List

Allows getting a filtered list of CreateAmlAlertRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.balance]
string

Filters create aml alert requests by balance.

include
string
Enum:"request_details" "request_details.balance"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_aml_alert_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_aml_alert_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

AMLAlert by ID

Allows getting CreateAmlAlert by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.balance]
string

Filters create aml alert requests by balance.

include
string
Enum:"request_details" "request_details.balance"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_aml_alert_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_aml_alert_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Limits

Update Limits Request List

Allows getting a filtered list of UpdateLimitsRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review request.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.balance]
string

Filters create aml alert requests by balance.

include
string
Enum:"request_details" "request_details.balance"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_aml_alert_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_aml_alert_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Limits

Limits List

Allows getting a filtered list of Limits with corresponding details.

query Parameters
filter[asset]
string

Filters limits by asset.

filter[stats_op_type]
integer

Filters limits by statsOpType.

filter[account]
string

Filters limits by account address.

filter[account_role]
integer

Filters limits by account role.

include
string
Value:"asset"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

limits exist

400

bad input parameter

404

limits do not exist

get /v3/limits

TokenD Developer Environment

https://api.achilles.tokend.io/v3/limits

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Update Limits Request by ID

Allows getting UpdateLimits by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.balance]
string

Filters create aml alert requests by balance.

include
string
Enum:"request_details" "request_details.balance"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_aml_alert_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_aml_alert_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Limits

Limits List

Allows getting a filtered list of Limits with corresponding details.

query Parameters
filter[asset]
string

Filters limits by asset.

filter[stats_op_type]
integer

Filters limits by statsOpType.

filter[account]
string

Filters limits by account address.

filter[account_role]
integer

Filters limits by account role.

include
string
Value:"asset"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

limits exist

400

bad input parameter

404

limits do not exist

get /v3/limits

TokenD Developer Environment

https://api.achilles.tokend.io/v3/limits

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Update Limits Request List

Allows getting a filtered list of UpdateLimitsRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review request.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

include
string
Value:"request_details"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/update_limits_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/update_limits_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Update Limits Request by ID

Allows getting UpdateLimits by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

include
string
Value:"request_details"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

404

request does not exist

get /v3/update_limits_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/update_limits_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Update Limits Request List

Allows getting a filtered list of UpdateLimitsRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review request.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

include
string
Value:"request_details"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/update_limits_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/update_limits_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Update Limits Request by ID

Allows getting UpdateLimits by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

include
string
Value:"request_details"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

404

request does not exist

get /v3/update_limits_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/update_limits_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Asset Pairs

    =======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

include
string
Value:"request_details"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/update_limits_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/update_limits_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Asset Pairs

    >>>>>>> master =======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

include
string
Value:"request_details"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

404

request does not exist

get /v3/update_limits_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/update_limits_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Asset Pairs

    >>>>>>> master
  • A base asset refers to the underlying assets giving value to a company, investment or loan. Base asset is not fixed. It will appreciate or depreciate according to market forces.
  • A quote asset refers to the last amount at which 1 base asset was traded, meaning the most recent price to which a buyer and seller have agreed as well as the price at which some 1 base asset was transacted
<<<<<<< HEAD <<<<<<< HEAD

AssetPair List

Allows getting a filtered list of AssetPair with corresponding details.

query Parameters
filter[policy]
integer <int32>
Example: 2

Filters asset pairs by a specified bit mask. Returns the page of asset pairs where at least one bit intersects.

filter[base_asset]
string <valid AssetCode>
Example: "BTC"

Filters asset pairs by a specified base asset of the pair.

filter[quote_asset]
string <valid AssetCode>
Example: "ETH"

Filters asset pairs by a specified quote asset of the pair.

filter[asset]
string <valid AssetCode>
Example: "ETH"

Filters asset pairs by a specified asset of the pair (no matter whether it is a base or quote asset)

include
string
Enum:"base_asset" "quote_asset"
Example: "base_asset,quote_asset"

Relationships that may be used for the include parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

asset pairs that satisfy specified filters

400

bad input parameter

404

asset pair does not exist

get /v3/assets_pairs

TokenD Developer Environment

https://api.achilles.tokend.io/v3/assets_pairs

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

AssetPair by ID

Allows getting AssetPair with corresponding details.

path Parameters
id
required
string <BASE:QUOTE>
Example: "BTC:ETH"

Unique identifier of an asset pair that consists of two asset codes

query Parameters
include
string
Enum:"base_asset" "quote_asset"
Example: "base_asset"

Relationships that may be used for the include parameter.

Responses

200

asset pair exists

400

bad input parameter

404

asset pair does not exist

get /v3/asset_pairs/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/asset_pairs/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Offers

Offers List

Allows getting a filtered list of Offer with corresponding details.

=======

AssetPair by ID

Allows getting AssetPair with corresponding details.

path Parameters
id
required
string <BASE:QUOTE>
Example: "BTC:ETH"

Unique identifier of an asset pair that consists of two asset codes

query Parameters
include
string
Enum:"base_asset" "quote_asset"
Example: "base_asset"

Relationships that may be used for the include parameter.

Responses

200

asset pair exists

400

bad input parameter

404

asset pair does not exist

get /v3/asset_pairs/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/asset_pairs/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

AssetPair List

Allows getting a filtered list of AssetPair with corresponding details.

query Parameters
filter[policy]
integer <int32>
Example: 2

Filters asset pairs by a specified bit mask. Returns the page of asset pairs where at least one bit intersects.

filter[base_asset]
string <valid AssetCode>
Example: "BTC"

Filters asset pairs by a specified base asset of the pair.

filter[quote_asset]
string <valid AssetCode>
Example: "ETH"

Filters asset pairs by a specified quote asset of the pair.

filter[asset]
string <valid AssetCode>
Example: "ETH"

Filters asset pairs by a specified asset of the pair (no matter whether it is a base or quote asset)

include
string
Enum:"base_asset" "quote_asset"
Example: "base_asset,quote_asset"

Relationships that may be used for the include parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

asset pairs that satisfy specified filters

400

bad input parameter

404

asset pair does not exist

get /v3/asset_pairs

TokenD Developer Environment

https://api.achilles.tokend.io/v3/asset_pairs

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Offers

Offer by ID

Allows getting Offer with corresponding details.

🔒 An owner's or admin's signature is needed to get the data from this endpoint.

path Parameters
id
required
integer <int64>
Example: 10

Unique identifier of an offer

query Parameters
include
string
Enum:"base_asset" "quote_asset"

Relationships that may be used for the included parameter.

Responses

200

offer exists

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

offer does not exist

get /v3/offers/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/offers/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Offers List

Allows getting a filtered list of Offer with corresponding details.

>>>>>>> master =======

AssetPair List

Allows getting a filtered list of AssetPair with corresponding details.

query Parameters
filter[policy]
integer <int32>
Example: 2

Filters asset pairs by a specified bit mask. Returns the page of asset pairs where at least one bit intersects.

filter[base_asset]
string <valid AssetCode>
Example: "BTC"

Filters asset pairs by a specified base asset of the pair.

filter[quote_asset]
string <valid AssetCode>
Example: "ETH"

Filters asset pairs by a specified quote asset of the pair.

filter[asset]
string <valid AssetCode>
Example: "ETH"

Filters asset pairs by a specified asset of the pair (no matter whether it is a base or quote asset)

include
string
Enum:"base_asset" "quote_asset"
Example: "base_asset,quote_asset"

Relationships that may be used for the include parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

asset pairs that satisfy specified filters

400

bad input parameter

404

asset pair does not exist

get /v3/asset_pairs

TokenD Developer Environment

https://api.achilles.tokend.io/v3/asset_pairs

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

AssetPair by ID

Allows getting AssetPair with corresponding details.

path Parameters
id
required
string <BASE:QUOTE>
Example: "BTC:ETH"

Unique identifier of an asset pair that consists of two asset codes

query Parameters
include
string
Enum:"base_asset" "quote_asset"
Example: "base_asset"

Relationships that may be used for the include parameter.

Responses

200

asset pair exists

400

bad input parameter

404

asset pair does not exist

get /v3/asset_pairs/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/asset_pairs/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Offers

Offers List

Allows getting a filtered list of Offer with corresponding details.

>>>>>>> master

🔒 Depending on the case, different signatures are required:

  1. if no filters are applied, admin account's signature is required.

  2. if filters are applied, signature of the account by which the filter was requested is required

<<<<<<< HEAD <<<<<<< HEAD
query Parameters
filter[base_balance]
string <valid balanceID>
Example: "BDLXKLLVS6UIQEDYCZKIC5222GGQLCOTHM4BWXVCBDQMJTUWUFUATV2Q"

Filters offers by specified base balance ID

filter[quote_balance]
string <valid balanceID>
Example: "BPGIKLLVS6UIQEDYCJRFH53GJ7GQLCOTHM4BWXVCBDQMJTUWUDPQTVLO"

Filters offers by specified quote balance ID

filter[base_asset]
string <valid assetCode>
Example: "BTC"

Filters offers by specified base asset code

filter[quote_asset]
string <valid assetCode>
Example: "ETH"

Filters offers by specified quote asset code

filter[owner]
string <valid accountID>
Example: "GAULFBQKQTFHHHZEIRMYVCGTY47FKWEW7P2BY2YT45HAEODAIJUJH23T"

Filters offers by a specified account that created the offer

filter[order_book]
number <int64>
Example: 2

Filters offers by specified order book ID Defines whether offers are for sale or for trade (0 - secondary market, saleId - for specific sale)

filter[is_buy]
number <int32>
Example: 1

Defines whether an offer is on buying or selling the base_asset, or both

=======
query Parameters
filter[base_balance]
string <valid balanceID>
Example: "BDLXKLLVS6UIQEDYCZKIC5222GGQLCOTHM4BWXVCBDQMJTUWUFUATV2Q"

Filters offers by specified base balance ID

filter[quote_balance]
string <valid balanceID>
Example: "BPGIKLLVS6UIQEDYCJRFH53GJ7GQLCOTHM4BWXVCBDQMJTUWUDPQTVLO"

Filters offers by specified quote balance ID

filter[base_asset]
string <valid assetCode>
Example: "BTC"

Filters offers by specified base asset code

filter[quote_asset]
string <valid assetCode>
Example: "ETH"

Filters offers by specified quote asset code

filter[owner]
string <valid accountID>
Example: "GAULFBQKQTFHHHZEIRMYVCGTY47FKWEW7P2BY2YT45HAEODAIJUJH23T"

Filters offers by a specified account that created the offer

filter[order_book]
number <int64>
Example: 2

Filters offers by specified order book ID Defines whether offers are for sale or for trade (0 - secondary market, saleId - for specific sale)

filter[is_buy]
number <int32>
Example: 1

Defines whether an offer is on buying or selling the base_asset, or both

>>>>>>> master =======
query Parameters
filter[base_balance]
string <valid balanceID>
Example: "BDLXKLLVS6UIQEDYCZKIC5222GGQLCOTHM4BWXVCBDQMJTUWUFUATV2Q"

Filters offers by specified base balance ID

filter[quote_balance]
string <valid balanceID>
Example: "BPGIKLLVS6UIQEDYCJRFH53GJ7GQLCOTHM4BWXVCBDQMJTUWUDPQTVLO"

Filters offers by specified quote balance ID

filter[base_asset]
string <valid assetCode>
Example: "BTC"

Filters offers by specified base asset code

filter[quote_asset]
string <valid assetCode>
Example: "ETH"

Filters offers by specified quote asset code

filter[owner]
string <valid accountID>
Example: "GAULFBQKQTFHHHZEIRMYVCGTY47FKWEW7P2BY2YT45HAEODAIJUJH23T"

Filters offers by a specified account that created the offer

filter[order_book]
number <int64>
Example: 2

Filters offers by specified order book ID Defines whether offers are for sale or for trade (0 - secondary market, saleId - for specific sale)

filter[is_buy]
number <int32>
Example: 1

Defines whether an offer is on buying or selling the base_asset, or both

>>>>>>> master
  • if is_buy == true -> only buy base_asset offers are filtered
  • if is_buy == false -> only sell base_asset offers are filtered
  • if is_buy is not specified -> both buy and sell base_asset offers are filtered
<<<<<<< HEAD <<<<<<< HEAD
include
string
Enum:"base_asset" "quote_asset"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

offer exists

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

get /v3/offers

TokenD Developer Environment

https://api.achilles.tokend.io/v3/offers

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Offer by ID

Allows getting Offer with corresponding details.

🔒 An owner's or admin's signature is needed to get the data from this endpoint.

path Parameters
id
required
integer <int64>
Example: 10

Unique identifier of an offer

query Parameters
include
string
Enum:"base_asset" "quote_asset"

Relationships that may be used for the included parameter.

Responses

200

offer exists

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

offer does not exist

get /v3/offers/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/offers/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Order Books

An order book is a list of buy and sell orders for a specified asset pair organized by price level. An order book lists the amount of asset being bid or offered at each price point. It does not identify market participants behind buy and sell orders.

OrderBook by ID

Returns the list of placed offers without private details.

path Parameters
id
required
integer <int64>

ID of an order book: 0 for the secondary market and sale ID otherwise

query Parameters
base_asset
string <valid assetCode>
Example: "BTC"

Base asset of requested offers

quote_asset
string <valid assetCode>
Example: "ETH"

Quote asset of requested offers

is_buy
number

Defines whether an offer is on buying or selling the base_asset

include
string
Enum:"base_asset" "quote_asset"

Relationships that may be used for the included parameter.

Responses

200

order book exists

400

bad input parameter

404

order book does not exist

get /v3/order_book/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/order_book/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Crowd Investing

Create Sale Request List

Allows getting a filtered list of CreateSaleRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
include
string
Enum:"base_asset" "quote_asset"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

offer exists

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

get /v3/offers

TokenD Developer Environment

https://api.achilles.tokend.io/v3/offers

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Order Books

An order book is a list of buy and sell orders for a specified asset pair organized by price level. =======

include
string
Enum:"base_asset" "quote_asset"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

offer exists

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

get /v3/offers

TokenD Developer Environment

https://api.achilles.tokend.io/v3/offers

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Offer by ID

Allows getting Offer with corresponding details.

🔒 An owner's or admin's signature is needed to get the data from this endpoint.

path Parameters
id
required
integer <int64>
Example: 10

Unique identifier of an offer

query Parameters
include
string
Enum:"base_asset" "quote_asset"

Relationships that may be used for the included parameter.

Responses

200

offer exists

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

offer does not exist

get /v3/offers/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/offers/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Order Books

An order book is a list of buy and sell orders for a specified asset pair organized by price level. >>>>>>> master An order book lists the amount of asset being bid or offered at each price point. It does not identify market participants behind buy and sell orders.

OrderBook by ID Deprecated

Returns the list of placed offers without private details.

path Parameters
id
required
integer <int64>

ID of an order book: 0 for the secondary market and sale ID otherwise

query Parameters
base_asset
string <valid assetCode>
Example: "BTC"

Base asset of requested offers

quote_asset
string <valid assetCode>
Example: "ETH"

Quote asset of requested offers

is_buy
number

Defines whether an offer is on buying or selling the base_asset

include
string
Enum:"base_asset" "quote_asset"

Relationships that may be used for the included parameter.

Responses

200

order book exists

400

bad input parameter

404

order book does not exist

get /v3/order_book/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/order_book/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

OrderBook by ID

Returns the list of placed offers without private details.

path Parameters
id
required
string
Example: "BTC:ETH:0"

ID of the resource, formatted as base:quote:order_book_id, where order_book_id is 0 for secondary market, sale ID otherwise

query Parameters
max_entries
integer <uint64>
Example: 10

Defines quantity of entries that will be returned in the response

include
string
Enum:"buy_entries" "sell_entries" "base_asset" "quote_asset"

Relationships that may be used for the included parameter.

Responses

200

order book exists

400

bad input parameter

404

order book does not exist

get /v3/order_books/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/order_books/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Crowd Investing

Create Sale Request List

Allows getting a filtered list of CreateSaleRequest with details

🔒 Requestor's or reviewer's signature is needed

<<<<<<< HEAD
query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.base_asset]
string

Filters sale requests by base asset.

filter[request_details.default_quote_asset]
string

Filters sale requests by a default quote asset.

include
string
Enum:"request_details" "request_details.base_asset" "request_details.default_quote_asset" "request_details.quote_assets"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_sale_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_sale_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Create Sale Request by ID

Allows getting CreateSale by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.base_asset]
string

Filters create_sale requests by base asset.

filter[request_details.default_quote_asset]
string

Filters create_sale requests by default quote asset.

include
string
Enum:"request_details" "request_details.base_asset" "request_details.default_quote_asset" "request_details.quote_assets"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_sale_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_sale_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Create Sale Request List

Allows getting a filtered list of CreateSaleRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.base_asset]
string

Filters sale requests by base asset.

filter[request_details.default_quote_asset]
string

Filters sale requests by a default quote asset.

include
string
Enum:"request_details" "request_details.base_asset" "request_details.default_quote_asset" "request_details.quote_assets"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_sale_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_sale_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Create Sale Request by ID

Allows getting CreateSale by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.base_asset]
string

Filters create_sale requests by base asset.

filter[request_details.default_quote_asset]
string

Filters create_sale requests by default quote asset.

include
string
Enum:"request_details" "request_details.base_asset" "request_details.default_quote_asset" "request_details.quote_assets"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_sale_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_sale_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Sale List

Allows getting a filtered list of Sale with corresponding details.

query Parameters
filter[owner]
string

Filters sales by a specified owner's account address.

filter[min_start_time]
string <date-time>
Example: "2012-10-30T22:08:41+00:00"

Filters sales by a specified minimum start time of the sale.

filter[min_end_time]
string <date-time>
Example: "2012-10-30T22:08:41+00:00"

Filters sales by a specified minimum end time of the sale.

filter[max_start_time]
string <date-time>
Example: "2012-10-30T22:08:41+00:00"

Filters sales by a specified maximal start time of the sale.

filter[max_end_time]
string <date-time>
Example: "2012-10-30T22:08:41+00:00"

Filters sales by a specified maximal end time of the sale.

filter[state]
integer
Example: 1

Filters sales by a specified sale state. =======

filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.base_asset]
string

Filters sale requests by base asset.

filter[request_details.default_quote_asset]
string

Filters sale requests by a default quote asset.

include
string
Enum:"request_details" "request_details.base_asset" "request_details.default_quote_asset" "request_details.quote_assets"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_sale_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_sale_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Sale by ID

Allows getting Sale with corresponding details.

path Parameters
id
required
integer <int64>

Unique identifier of a sale

query Parameters
include
string
Example: "base_asset,default_quote_asset"

Relationships that may be used for the included parameter.

Responses

200

sale exists

400

bad input parameter

404

such a sale does not exist

get /v3/sales/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/sales/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Sale List

Allows getting a filtered list of Sale with corresponding details.

query Parameters
filter[owner]
string

Filters sales by a specified owner's account address.

filter[min_start_time]
string <date-time>
Example: "2012-10-30T22:08:41+00:00"

Filters sales by a specified minimum start time of the sale.

filter[min_end_time]
string <date-time>
Example: "2012-10-30T22:08:41+00:00"

Filters sales by a specified minimum end time of the sale.

filter[max_start_time]
string <date-time>
Example: "2012-10-30T22:08:41+00:00"

Filters sales by a specified maximal start time of the sale.

filter[max_end_time]
string <date-time>
Example: "2012-10-30T22:08:41+00:00"

Filters sales by a specified maximal end time of the sale.

filter[state]
integer
Example: 1

Filters sales by a specified sale state. =======

filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.base_asset]
string

Filters create_sale requests by base asset.

filter[request_details.default_quote_asset]
string

Filters create_sale requests by default quote asset.

include
string
Enum:"request_details" "request_details.base_asset" "request_details.default_quote_asset" "request_details.quote_assets"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_sale_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_sale_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Sale List for account

Allows getting a filtered list of Sale with corresponding details into which account can invest.

query Parameters
filter[owner]
string

Filters sales by a specified owner's account address.

filter[min_start_time]
string <date-time>
Example: "2012-10-30T22:08:41+00:00"

Filters sales by a specified minimum start time of the sale.

filter[min_end_time]
string <date-time>
Example: "2012-10-30T22:08:41+00:00"

Filters sales by a specified minimum end time of the sale.

filter[max_start_time]
string <date-time>
Example: "2012-10-30T22:08:41+00:00"

Filters sales by a specified maximal start time of the sale.

filter[max_end_time]
string <date-time>
Example: "2012-10-30T22:08:41+00:00"

Filters sales by a specified maximal end time of the sale.

filter[state]
integer
Example: 1

Filters sales by a specified sale state. >>>>>>> master Available sale states:

  • 1 - open
  • 2 - closed
  • 3 - cancelled
filter[max_soft_cap]
number <float>
Example: "1.000000"

Filters sales by specified maximum soft cap of the sale.

filter[max_hard_cap]
number <float>
Example: "3.000000"

Filters sales by specified maximum hard cap of the sale.

filter[min_soft_cap]
number <float>
Example: "1.000000"

Filters sales by specified minimum soft cap of the sale.

filter[min_hard_cap]
number <float>
Example: "3.000000"

Filters sales by specified minimum hard cap of the sale.

filter[base_asset]
string
Example: "BTC36174"

Filters sales by a specified base asset of the sale.

filter[sale_type]
integer
Example: 1

Filters sales by a specified sale type. Available sale types:

  • 1 - basic sale
  • 2 - crowdfunding sale
  • 3 - fixed price sale
<<<<<<< HEAD
include
string
Enum:"base_asset" "quote_assets" "default_quote_asset"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

sale exists

400

bad input parameter

get /v3/sales

TokenD Developer Environment

https://api.achilles.tokend.io/v3/sales

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Sale List for account

Allows getting a filtered list of Sale with corresponding details into which account can invest.

query Parameters
filter[owner]
string

Filters sales by a specified owner's account address.

filter[min_start_time]
string <date-time>
Example: "2012-10-30T22:08:41+00:00"

Filters sales by a specified minimum start time of the sale.

filter[min_end_time]
string <date-time>
Example: "2012-10-30T22:08:41+00:00"

Filters sales by a specified minimum end time of the sale.

filter[max_start_time]
string <date-time>
Example: "2012-10-30T22:08:41+00:00"

Filters sales by a specified maximal start time of the sale.

filter[max_end_time]
string <date-time>
Example: "2012-10-30T22:08:41+00:00"

Filters sales by a specified maximal end time of the sale.

filter[state]
integer
Example: 1

Filters sales by a specified sale state. >>>>>>> master =======

include
string
Enum:"base_asset" "quote_assets" "default_quote_asset"

Relationships that may be used for the included parameter.

page[cursor]
integer >= 0

Cursor point to the end of the previous page

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

sale exists

400

bad input parameter

get /v3/accounts/{id}/sales

TokenD Developer Environment

https://api.achilles.tokend.io/v3/accounts/{id}/sales

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Sale List

Allows getting a filtered list of Sale with corresponding details.

query Parameters
filter[owner]
string

Filters sales by a specified owner's account address.

filter[min_start_time]
string <date-time>
Example: "2012-10-30T22:08:41+00:00"

Filters sales by a specified minimum start time of the sale.

filter[min_end_time]
string <date-time>
Example: "2012-10-30T22:08:41+00:00"

Filters sales by a specified minimum end time of the sale.

filter[max_start_time]
string <date-time>
Example: "2012-10-30T22:08:41+00:00"

Filters sales by a specified maximal start time of the sale.

filter[max_end_time]
string <date-time>
Example: "2012-10-30T22:08:41+00:00"

Filters sales by a specified maximal end time of the sale.

filter[state]
integer
Example: 1

Filters sales by a specified sale state. >>>>>>> master Available sale states:

  • 1 - open
  • 2 - closed
  • 3 - cancelled
<<<<<<< HEAD <<<<<<< HEAD
filter[max_soft_cap]
number <float>
Example: "1.000000"

Filters sales by specified maximum soft cap of the sale.

filter[max_hard_cap]
number <float>
Example: "3.000000"

Filters sales by specified maximum hard cap of the sale.

filter[min_soft_cap]
number <float>
Example: "1.000000"

Filters sales by specified minimum soft cap of the sale.

filter[min_hard_cap]
number <float>
Example: "3.000000"

Filters sales by specified minimum hard cap of the sale.

filter[base_asset]
string
Example: "BTC36174"

Filters sales by a specified base asset of the sale.

filter[sale_type]
integer
Example: 1

Filters sales by a specified sale type. =======

filter[max_soft_cap]
number <float>
Example: "1.000000"

Filters sales by specified maximum soft cap of the sale.

filter[max_hard_cap]
number <float>
Example: "3.000000"

Filters sales by specified maximum hard cap of the sale.

filter[min_soft_cap]
number <float>
Example: "1.000000"

Filters sales by specified minimum soft cap of the sale.

filter[min_hard_cap]
number <float>
Example: "3.000000"

Filters sales by specified minimum hard cap of the sale.

filter[base_asset]
string
Example: "BTC36174"

Filters sales by a specified base asset of the sale.

filter[sale_type]
integer
Example: 1

Filters sales by a specified sale type. >>>>>>> master =======

filter[max_soft_cap]
number <float>
Example: "1.000000"

Filters sales by specified maximum soft cap of the sale.

filter[max_hard_cap]
number <float>
Example: "3.000000"

Filters sales by specified maximum hard cap of the sale.

filter[min_soft_cap]
number <float>
Example: "1.000000"

Filters sales by specified minimum soft cap of the sale.

filter[min_hard_cap]
number <float>
Example: "3.000000"

Filters sales by specified minimum hard cap of the sale.

filter[base_asset]
string
Example: "BTC36174"

Filters sales by a specified base asset of the sale.

filter[sale_type]
integer
Example: 1

Filters sales by a specified sale type. >>>>>>> master Available sale types:

  • 1 - basic sale
  • 2 - crowdfunding sale
  • 3 - fixed price sale
<<<<<<< HEAD <<<<<<< HEAD
include
string
Enum:"base_asset" "quote_assets" "default_quote_asset"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

sale exists

400

bad input parameter

get /v3/sales

TokenD Developer Environment

https://api.achilles.tokend.io/v3/sales

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Sale by ID

Allows getting Sale with corresponding details.

path Parameters
id
required
integer <int64>

Unique identifier of an account

query Parameters
include
string
Example: "base_asset,default_quote_asset"

Relationships that may be used for the included parameter.

Responses

200

sale exists

400

bad input parameter

404

such a sale does not exist

get /v3/sales/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/sales/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Update Sale Details List

Allows getting a filtered list of UpdateSaleDetailsRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
include
string
Enum:"base_asset" "quote_assets" "default_quote_asset"

Relationships that may be used for the included parameter.

page[cursor]
integer >= 0

Cursor point to the end of the previous page

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

sale exists

400

bad input parameter

get /v3/accounts/{id}/sales

TokenD Developer Environment

https://api.achilles.tokend.io/v3/accounts/{id}/sales

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Participations for the sale

Allows getting participation for sale.

=======
include
string
Enum:"base_asset" "quote_assets" "default_quote_asset"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

sale exists

400

bad input parameter

get /v3/sales

TokenD Developer Environment

https://api.achilles.tokend.io/v3/sales

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Participations for the sale

Allows getting participation for sale.

>>>>>>> master

🔒 Admin or sale owner signature is required.

path Parameters
id
required
integer <int64>
Example: 10

Unique identifier of a sale

query Parameters
filter[participant]
string

Filters sale participation by a specified participants's account address.

filter[quote_asset]
string
Example: "BTC36174"

Filters sale participations by a specified quote asset.

include
string
Enum:"base_asset" "quote_asset"

Relationships that may be used for the included parameter.

page[cursor]
integer >= 0

Cursor point to the end of the previous page

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

participation exists

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

sale does not exist

get /v3/sales/{id}/relationships/participation

TokenD Developer Environment

https://api.achilles.tokend.io/v3/sales/{id}/relationships/participation

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Whitelist for sale

Allows getting whitelist for sale.

🔒 Admin or sale owner signature is required.

path Parameters
id
required
integer <int64>
Example: 10

Unique identifier of a sale

query Parameters
page[cursor]
integer >= 0

Cursor point to the end of the previous page

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

whitelist exists

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

whitelist does not exist

get /v3/sales/{id}/relationships/whitelist

TokenD Developer Environment

https://api.achilles.tokend.io/v3/sales/{id}/relationships/whitelist

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "links":
    {
    }
}

Sale by ID

Allows getting Sale with corresponding details.

path Parameters
id
required
integer <int64>

Unique identifier of a sale

query Parameters
include
string
Example: "base_asset,default_quote_asset"

Relationships that may be used for the included parameter.

Responses

200

sale exists

400

bad input parameter

404

such a sale does not exist

get /v3/sales/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/sales/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Update Sale Details List

Allows getting a filtered list of UpdateSaleDetailsRequest with details

🔒 Requestor's or reviewer's signature is needed

<<<<<<< HEAD
query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

include
string
Enum:"request_details" "request_details.sale"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/update_sale_details_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/update_sale_details_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Update Sale Details by ID

Allows getting UpdateSaleDetails by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

include
string
Enum:"request_details" "request_details.sale"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/update_sale_details_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/update_sale_details_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Update Sale Details List

Allows getting a filtered list of UpdateSaleDetailsRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

include
string
Enum:"request_details" "request_details.sale"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/update_sale_details_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/update_sale_details_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Update Sale Details by ID

Allows getting UpdateSaleDetails by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

include
string
Enum:"request_details" "request_details.sale"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/update_sale_details_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/update_sale_details_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

PreIssuance

PreIssuance Request List

Allows getting a filtered list of AssetCreateRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

include
string
Enum:"request_details" "request_details.sale"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/update_sale_details_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/update_sale_details_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

PreIssuance

PreIssuance Request by ID

Allows getting CreatePreIssuance by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

include
string
Enum:"request_details" "request_details.sale"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/update_sale_details_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/update_sale_details_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

PreIssuance

PreIssuance Request List

Allows getting a filtered list of AssetCreateRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.asset]
string

Filters preissuance create requests by asset code.

include
string
Enum:"request_details" "request_details.asset"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_pre_issuance_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_pre_issuance_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

PreIssuance Request by ID

Allows getting CreatePreIssuance by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.asset]
string

Filters preissuance create requests by asset code.

include
string
Enum:"request_details" "request_details.asset"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_pre_issuance_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_pre_issuance_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

PreIssuance Request List

Allows getting a filtered list of AssetCreateRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.asset]
string

Filters preissuance create requests by asset code.

include
string
Enum:"request_details" "request_details.asset"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_pre_issuance_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_pre_issuance_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

PreIssuance Request by ID

Allows getting CreatePreIssuance by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.asset]
string

Filters preissuance create requests by asset code.

include
string
Enum:"request_details" "request_details.asset"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_pre_issuance_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_pre_issuance_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

KeyValue

KeyValueEntry List

Allows getting KeyValueEntry with corresponding details.

query Parameters
page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

KeyValue entries exist

400

bad input parameter

get /v3/key_values

TokenD Developer Environment

https://api.achilles.tokend.io/v3/key_values

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included": [ ],
  • "links":
    {
    }
}

KeyValueEntry by ID

Allows getting KeyValueEntry with corresponding details.

path Parameters
key
required
string
Example: "max_contracts_count"

Unique identifier of the key-value entry

Responses

200

key-value entry exists

400

bad input parameter

404

key-value entry does not exist

get /v3/key_values/{key}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/key_values/{key}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    }
}

Requests

Reviewable Request List

Allows getting a filtered list of ReviewableRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.asset]
string

Filters preissuance create requests by asset code.

include
string
Enum:"request_details" "request_details.asset"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_pre_issuance_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_pre_issuance_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

KeyValue

KeyValueEntry by ID

Allows getting KeyValueEntry with corresponding details.

path Parameters
key
required
string
Example: "max_contracts_count"

Unique identifier of the key-value entry

Responses

200

key-value entry exists

400

bad input parameter

404

key-value entry does not exist

get /v3/key_values/{key}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/key_values/{key}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    }
}

KeyValueEntry List

Allows getting KeyValueEntry with corresponding details.

query Parameters
page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

KeyValue entries exist

400

bad input parameter

get /v3/key_values

TokenD Developer Environment

https://api.achilles.tokend.io/v3/key_values

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included": [ ],
  • "links":
    {
    }
}

Polls

Create Poll Request by ID

Allows getting CreatePoll by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.asset]
string

Filters preissuance create requests by asset code.

include
string
Enum:"request_details" "request_details.asset"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_pre_issuance_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_pre_issuance_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

KeyValue

KeyValueEntry List

Allows getting KeyValueEntry with corresponding details.

query Parameters
page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

KeyValue entries exist

400

bad input parameter

get /v3/key_values

TokenD Developer Environment

https://api.achilles.tokend.io/v3/key_values

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included": [ ],
  • "links":
    {
    }
}

KeyValueEntry by ID

Allows getting KeyValueEntry with corresponding details.

path Parameters
key
required
string
Example: "max_contracts_count"

Unique identifier of the key-value entry

Responses

200

key-value entry exists

400

bad input parameter

404

key-value entry does not exist

get /v3/key_values/{key}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/key_values/{key}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    }
}

Polls

Create Poll Request List

Allows getting a filtered list of CreatePollRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[type]
integer [ 0 .. 17 ]

Filters requests by their type.

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.permission_type]
uint64

Filters create_poll requests by permission type.

filter[request_details.vote_confirmation_required]
boolean

Filters create_poll requests by vote_confirmation_required property.

include
string
Value:"request_details"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_poll_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_poll_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Create Poll Request List

Allows getting a filtered list of CreatePollRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.result_provider]
string

Filters poll requests by result provider.

filter[request_details.vote_confirmation_required]
string

Filters poll requests by a voteConfirmationRequired property.

filter[request_details.permission_type]
string

Filters poll requests by permission type.

include
string
Value:"request_details"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_poll_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_poll_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Create Poll Request by ID

Allows getting CreatePoll by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.permission_type]
uint64

Filters create_poll requests by permission type.

filter[request_details.vote_confirmation_required]
boolean

Filters create_poll requests by vote_confirmation_required property.

include
string
Value:"request_details"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_poll_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_poll_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Polls list

Allows getting a filtered list of Polls with corresponding details.

🔒 Depending on the case, different signatures are required:

  1. if no filters are applied, admin signature is required.

  2. if filter by owner is applied, signature of owner is required

query Parameters
filter[owner]
string <valid accountID>
Example: "GAULFBQKQTFHHHZEIRMYVCGTY47FKWEW7P2BY2YT45HAEODAIJUJH23T"

Filters polls by specified owner id

filter[permission_type]
any

Filters polls by specified permission type

filter[poll_type]
integer
Example: 0

Filters polls by a specified poll type. Available poll states:

  • 0 - single choice
filter[vote_confirmation]
boolean
Example: false

Filters polls by VoteConfirmationRequired property

filter[min_start_time]
string <date-time>
Example: "2012-10-30T22:08:41+00:00"

Filters polls by a specified minimum start time of the poll.

filter[min_end_time]
string <date-time>
Example: "2012-10-30T22:08:41+00:00"

Filters polls by a specified minimum end time of the poll.

filter[max_start_time]
string <date-time>
Example: "2012-10-30T22:08:41+00:00"

Filters polls by a specified maximal start time of the poll.

filter[max_end_time]
string <date-time>
Example: "2012-10-30T22:08:41+00:00"

Filters polls by a specified maximal end time of the poll.

filter[state]
integer
Example: 1

Filters polls by a specified poll state. Available poll states:

  • 1 - open
  • 2 - passed
  • 3 - failed
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

include
string
Value:"request_details"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Reviewable Request by ID

Allows getting ReviewableRequest by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review request.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
page[cursor]
integer >= 0

Cursor point to the end of the previous page

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

polls exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

get /v3/polls

TokenD Developer Environment

https://api.achilles.tokend.io/v3/polls

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included": [ ],
  • "links":
    {
    }
}

Vote by ID

Allows getting Vote with corresponding details.

🔒 Admin, voter, poll owner or poll result provider signature is required.

path Parameters
id
required
integer <int64>
Example: 10

Unique identifier of a poll

voter
required
string
Example: "GAULFBQKQTFHHHZEIRMYVCGTY47FKWEW7P2BY2YT45HAEODAIJUJH23T"

Unique identifier of a voter account

query Parameters
include
string
Value:"poll"

Relationships that may be used for the included parameter.

Responses

200

vote exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

vote does not exist

get /v3/polls/{id}/relationships/votes/{voter}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/polls/{id}/relationships/votes/{voter}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Votes list

Allows getting a filtered list of Votes with corresponding details.

=======
page[cursor]
integer >= 0

Cursor point to the end of the previous page

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

polls exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

get /v3/polls

TokenD Developer Environment

https://api.achilles.tokend.io/v3/polls

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included": [ ],
  • "links":
    {
    }
}

Poll by ID

Allows getting Poll with corresponding details.

🔒 Admin, poll result provider or poll owner signature is required if outcome should be included.

path Parameters
id
required
integer <int64>
Example: 10

Unique identifier of a poll

query Parameters
include
string
Enum:"participation" "participation.votes"

Relationships that may be used for the included parameter.

Responses

200

poll exists

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

poll does not exist

get /v3/polls/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/polls/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included": [ ]
}

Votes list

Allows getting a filtered list of Votes with corresponding details.

>>>>>>> master

🔒 Admin, poll result provider or poll owner signature is required.

path Parameters
id
required
integer <int64>
Example: 10

Unique identifier of a poll

query Parameters
include
string
Value:"poll"

Relationships that may be used for the included parameter.

page[cursor]
integer >= 0

Cursor point to the end of the previous page

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

votes exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

get /v3/polls/{id}/relationships/votes

TokenD Developer Environment

https://api.achilles.tokend.io/v3/polls/{id}/relationships/votes

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Vote by ID

Allows getting Vote with corresponding details.

🔒 Admin, voter, poll owner or poll result provider signature is required.

path Parameters
id
required
integer <int64>
Example: 10

Unique identifier of a poll

voter
required
string
Example: "GAULFBQKQTFHHHZEIRMYVCGTY47FKWEW7P2BY2YT45HAEODAIJUJH23T"

Unique identifier of a voter account

query Parameters
include
string
Value:"poll"

Relationships that may be used for the included parameter.

Responses

200

vote exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

vote does not exist

get /v3/polls/{id}/relationships/votes/{voter}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/polls/{id}/relationships/votes/{voter}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Requests

Reviewable Request List

Allows getting a filtered list of ReviewableRequest with details

🔒 Requestor's or reviewer's signature is needed

<<<<<<< HEAD
query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review request.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[type]
integer

Filters requests by their type.

=======
filter[type]
integer

Filters requests by their type.

>>>>>>> master =======
filter[type]
integer [ 0 .. 17 ]

Filters requests by their type.

>>>>>>> master
  • 0 - "none"
  • 1 - "any"
  • 2 - "create_pre_issuance"
  • 3 - "create_issuance"
  • 4 - "create_withdraw"
  • 5 - "create_sale"
  • 6 - "update_limits"
  • 7 - "create_aml_alert"
  • 8 - "change_role"
  • 9 - "update_sale_details"
  • 10 - "create_asset"
  • 11 - "create_invoice"
  • 12 - "manage_contract"
  • 13 - "update_asset"
  • 16 - "create_atomic_swap_bid"
  • 17 - "create_atomic_swap"
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bit are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits not set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

include
string
Value:"request_details"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    {
    }
}

History

Get history

Allows to get a filtered list of operations

query Parameters
filter[account]
string

Filters history by participant account address

filter[balance]
string

Filters history by participant's balance

include
string
Enum:"effect" "operation" "operation.details"

Relationships may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

history exists

400

bad input parameter

404

operations do not exist

get /v3/history

TokenD Developer Environment

https://api.achilles.tokend.io/v3/history

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Public Key Entries

Public Key Entry By ID

Returns the requested public key with accounts that have signer with such public key

🔒 Admins or public key owner signature is needed

path Parameters
id
required
string

ID of entry (the public key itself)

Responses

200

public key entry exists

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

public key entry not found

get /v3/public_keys/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/public_keys/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included": [ ]
}

Info

Horizon info

Allows getting basic info about horizon

Responses

200

succesfully retrieved page

503

server overloaded

get /

TokenD Developer Environment

https://api.achilles.tokend.io/

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "ledger_state":
    {
    },
  • "network_passphrase": "example network passphrase",
  • "admin_account_id": "GBA4EX43M25UPV4WIE6RRMQOFTWXZZRIPFAI5VPY6Z2ZVVXVWZ6NEOOB",
  • "master_exchange_name": "TokenD",
  • "tx_expiration_period": 0,
  • "current_time": 0,
  • "precision": 0,
  • "xdr_revision": "7e0659466026577a3ea90ff178773fecc4a85dec"
}

WIP

Create Atomic Swap Bid Request List

Allows getting a filtered list of CreateAtomicSwapBidRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bit are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits not set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

include
string
Value:"request_details"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    {
    }
}

Reviewable Request List

Allows getting a filtered list of ReviewableRequest with details

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

include
string
Value:"request_details"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Reviewable Request by ID

Allows getting ReviewableRequest by ID

>>>>>>> master

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review request.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
filter[type]
integer

Filters requests by their type.

  • 0 - "none"
  • 1 - "any"
  • 2 - "create_pre_issuance"
  • 3 - "create_issuance"
  • 4 - "create_withdraw"
  • 5 - "create_sale"
  • 6 - "update_limits"
  • 7 - "create_aml_alert"
  • 8 - "change_role"
  • 9 - "update_sale_details"
  • 10 - "create_asset"
  • 11 - "create_invoice"
  • 12 - "manage_contract"
  • 13 - "update_asset"
  • 16 - "create_atomic_swap_bid"
  • 17 - "create_atomic_swap"
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bit are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits not set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

include
string
Value:"request_details"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    {
    }
}

History

Get history

Allows to get a filtered list of participants effects

query Parameters
filter[account]
string

Filters history by participant account address

filter[balance]
string

Filters history by participant's balance

include
string
Enum:"effect" "operation" "operation.details"

Relationships may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

history exists

400

bad input parameter

404

effects do not exist

get /v3/history

TokenD Developer Environment

https://api.achilles.tokend.io/v3/history

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Get movements

Allows to get a filtered list of participants effects related to balances only - movements

query Parameters
filter[account]
string

Filters movements by participant account address

filter[balance]
string

Filters movements by participant's balance

include
string
Enum:"effect" "operation" "operation.details"

Relationships may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

movements exist

400

bad input parameter

404

operations do not exist

get /v3/movements

TokenD Developer Environment

https://api.achilles.tokend.io/v3/movements

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Get transaction

Allows to get transaction by ID or Hash

🔒 Admin account's signature is required.

path Parameters
id
required
string

ID or Hash of the transaction

query Parameters
include
string
Value:"ledger_entry_changes"

Relationships may be used for the included parameter.

Responses

200

transaction exists

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

such transaction does not exist

get /v3/transactions/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/transactions/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Get transactions

Allows to get a filtered list of transactionsa

🔒 Admin account's signature is required.

query Parameters
filter[ledger_entry_changes.entry_type]
integer [ 1 .. 33 ]

Filters transactions by ledger entry type they affected (comma-separated multiple values are supported):

  • 1 - any
  • 2 - account
  • 3 - signer
  • 4 - fee
  • 5 - balance
  • 6 - payment_request
  • 7 - asset
  • 8 - reference_entry
  • 9 - statistics
  • 10 - trust
  • 11 - account_limits
  • 12 - asset_pair
  • 13 - offer_entry
  • 15 - reviewable_request
  • 16 - external_system_account_id
  • 17 - sale
  • 18 - account_kyc
  • 19 - external_system_account_id_pool_entry
  • 20 - key_value
  • 22 - limits_v2
  • 23 - statistics_v2
  • 24 - pending_statistics
  • 25 - contract
  • 26 - account_role
  • 27 - account_rule
  • 28 - atomic_swap_bid
  • 29 - transaction
  • 30 - signer_rule
  • 31 - signer_role
  • 32 - stamp
  • 33 - license
  • 34 - poll
  • 35 - vote
filter[ledger_entry_changes.change_type]
integer [ 1 .. 3 ]

description: | Filters transactions by ledger entry change type they performed (comma-separated multiple values are supported):

  • 0 - created
  • 1 - updated
  • 2 - removed
  • 3 - state
include
string
Value:"ledger_entry_changes"

Relationships may be used for the included parameter.

page[cursor]
integer >= 0

Cursor point to the end of the previous page

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

transactions exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

get /v3/transactions

TokenD Developer Environment

https://api.achilles.tokend.io/v3/transactions

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Public Key Entries

Public Key Entry By ID

Returns the requested public key with accounts that have signer with such public key

🔒 Admins or public key owner signature is needed

path Parameters
id
required
string

ID of entry (the public key itself)

Responses

200

public key entry exists

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

public key entry not found

get /v3/public_keys/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/public_keys/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included": [ ]
}

Info

Horizon info Deprecated

Allows getting basic info about horizon

Responses

200

succesfully retrieved page

503

server overloaded

get /

TokenD Developer Environment

https://api.achilles.tokend.io/

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "ledger_state":
    {
    },
  • "network_passphrase": "example network passphrase",
  • "admin_account_id": "GBA4EX43M25UPV4WIE6RRMQOFTWXZZRIPFAI5VPY6Z2ZVVXVWZ6NEOOB",
  • "master_exchange_name": "TokenD",
  • "tx_expiration_period": 0,
  • "current_time": 0,
  • "precision": 0,
  • "xdr_revision": "7e0659466026577a3ea90ff178773fecc4a85dec"
}

Horizon info

Allows getting basic info about horizon state and it's dependensies

Responses

200

succesfully retrieved state

503

server overloaded

get /v3

TokenD Developer Environment

https://api.achilles.tokend.io/v3

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "id": "2019-03-04T18:42:15Z",
  • "type": "horizon-state",
  • "attributes":
    {
    }
}

Submit

Submit transaction

Allows to submit transaction to the network

Request Body schema: application/json
tx
required
string

base-64 encoded XDR representation of transaction itself

wait_for_ingest
boolean
Default: false

defines whether to wait for ingest of transaction or not

Responses

200

successfully submitted

400

bad input parameter

408

request has timed out

500

internal server error

post /v3/transactions

TokenD Developer Environment

https://api.achilles.tokend.io/v3/transactions

Request samples

application/json
Copy
Expand all Collapse all
{
  • "tx": "AAAAAEHCX5tmu0fXlkE9GLIOLO185ih5QI7V+PZ1mtb1tnzSA59veKFdUjsAAAAAAAAAAAAAAABchp31A...",
  • "wait_for_ingest": false
}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    }
}

WIP

Create Atomic Swap Bid Request List

Allows getting a filtered list of CreateAtomicSwapBidRequest with details

🔒 Requestor's or reviewer's signature is needed

<<<<<<< HEAD
query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.base_balance]
string

Filters create_atomic_swap_bid requests by balance.

include
string
Enum:"request_details" "request_details.base_balance" "request_details.quote_assets"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_atomic_swap_bid_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_atomic_swap_bid_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Create Atomic Swap Bid Request by ID

Allows getting CreateAtomicSwapBid by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.base_balance]
string

Filters create_atomic_swap_bid requests by base balance.

include
string
Enum:"request_details" "request_details.base_balance" "request_details.quote_assets"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_atomic_swap_bid_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_atomic_swap_bid_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Create Atomic Swap Bid Request List

Allows getting a filtered list of CreateAtomicSwapBidRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.base_balance]
string

Filters create_atomic_swap_bid requests by balance.

include
string
Enum:"request_details" "request_details.base_balance" "request_details.quote_assets"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_atomic_swap_bid_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_atomic_swap_bid_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Create Atomic Swap Bid Request by ID

Allows getting CreateAtomicSwapBid by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.base_balance]
string

Filters create_atomic_swap_bid requests by base balance.

include
string
Enum:"request_details" "request_details.base_balance" "request_details.quote_assets"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_atomic_swap_bid_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_atomic_swap_bid_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Create Atomic Swap Request List

Allows getting a filtered list of CreateAtomicSwapRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.base_balance]
string

Filters create_atomic_swap_bid requests by balance.

include
string
Enum:"request_details" "request_details.base_balance" "request_details.quote_assets"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_atomic_swap_bid_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_atomic_swap_bid_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Create Atomic Swap Request by ID

Allows getting CreateAtomicSwap by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.base_balance]
string

Filters create_atomic_swap_bid requests by base balance.

include
string
Enum:"request_details" "request_details.base_balance" "request_details.quote_assets"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_atomic_swap_bid_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_atomic_swap_bid_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Create Atomic Swap Request List

Allows getting a filtered list of CreateAtomicSwapRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.quote_asset]
string

Filters atomic swap requests by quote asset.

include
string
Enum:"request_details" "request_details.quote_asset"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_atomic_swap_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_atomic_swap_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Create Atomic Swap Request by ID

Allows getting CreateAtomicSwap by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

=======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.quote_asset]
string

Filters create_atomic_swap requests by quote asset.

include
string
Enum:"request_details" "request_details.quote_asset"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_atomic_swap_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_atomic_swap_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}

Create Atomic Swap Request List

Allows getting a filtered list of CreateAtomicSwapRequest with details

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master =======
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.quote_asset]
string

Filters atomic swap requests by quote asset.

include
string
Enum:"request_details" "request_details.quote_asset"

Relationships that may be used for the included parameter.

page[number]
integer >= 0

Page number to return.

page[limit]
integer [ 1 .. 100 ]
Default: 15

Numbers of items per page to return.

page[order]
string
Default: "asc"
Enum:"asc" "desc"

Order of records on the page. If sortingParam is not specified, order of records is by default sorted by ID.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

requests do not exist

get /v3/create_atomic_swap_requests

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_atomic_swap_requests

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    [
    ],
  • "included":
    [
    ],
  • "links":
    {
    }
}

Create Atomic Swap Request by ID

Allows getting CreateAtomicSwap by ID

🔒 Requestor's or reviewer's signature is needed

query Parameters
filter[requestor]
string

Filters requests by requestor - source of the operation.

filter[reviewer]
string

Filters requests by reviewer - account assigned to review requests.

filter[state]
integer [ 1 .. 5 ]

Filters requests by their state.

>>>>>>> master
  • 1 - pending
  • 2 - canceled
  • 3 - approved
  • 4 - rejected
  • 5 - permanently_rejected
<<<<<<< HEAD <<<<<<< HEAD
filter[pending_tasks]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if all bits are set.

filter[pending_tasks_not_set]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if none of bits is set.

filter[pending_tasks_any_of]
integer

Filters requests by existing tasks in pending tasks bit mask. Returns requests if at least one bit is set.

filter[request_details.quote_asset]
string

Filters create_atomic_swap requests by quote asset.

include
string
Enum:"request_details" "request_details.quote_asset"

Relationships that may be used for the included parameter.

Responses

200

requests exist

400

bad input parameter

401

either an invalid signature has been provided or a signer has not been authorized to access specified resources

404

request does not exist

get /v3/create_atomic_swap_requests/{id}

TokenD Developer Environment

https://api.achilles.tokend.io/v3/create_atomic_swap_requests/{id}

Response samples

application/vnd.api+json
Copy
Expand all Collapse all
{
  • "data":
    {
    },
  • "included":
    [
    ]
}